如何在64位SQL Server 2005上设置DB2链接服务器?
时间:2020-03-05 18:39:36 来源:igfitidea点击:
我需要在大型机上创建一个链接服务器到DB2数据库。有人在SQL Server 2005的64位版本上成功完成此操作吗?如果是这样,使用了哪个提供程序和设置?
无论我们使用Windows身份验证帐户登录SQL Server还是SQL Server登录,链接服务器都必须工作。同样重要的是,四部分名称和OPENQUERY
查询方法都必须起作用。我们在一台运行良好的SQL Server 2000计算机上进行了设置,但它使用了64位SS 2005所不具备的提供程序。
解决方案
回答
我们在Sql 2000中使用什么提供程序?我很确定MS拥有适用于DB2的x64 OLEDB驱动程序(Host Integration Server的一部分,但可以单独下载获得)。 IBM有适用于.NET和ODBC的x64,以及可能的OLEDB(尽管它是PITA所提供的)。
一旦我们获得链接服务器的设置,我很确定所有其他要求将是自动的。
回答
去年下半年(2007年9月),我们在生产系统上也遇到了同样的问题,与Microsoft的联系表明,他们有一个64位的oledb驱动程序可以连接到ASI / DB2,但当时在BETA中。
不确定何时会超出beta版,但这是去年的新闻。
我们决定将生产服务器移至32位计算机上,因为我们不习惯在生产系统上使用Beta驱动程序。
我知道这不会回答问题,但希望能给我们一些见识
回答
从Sql 2005 February 2007功能包中:
The Microsoft OLE DB Provider for DB2 is a COM component for integrating vital data stored in IBM DB2 databases with new solutions based on Microsoft SQL Server 2005 Enterprise Edition and Developer Edition. SQL Server developers and administrators can use the provider with Integration Services, Analysis Services, Replication, Reporting Services, and Distributed Query Processor. Run the self-extracting download package to create an installation folder. The single setup program will install the provider and tools on x86, x64, and IA64 computers.