Have been having a difficult time getting a connector to work between Microsoft Sql Server 2000 and IBM DB2 Universal Database, over TCP/IP, both running on Win 2K machines. Has anyone had any success?
Cant help directly (DB2 one of lifes many mysteries to me) but Microsoft provide an oledb driver so you can create a linked server, theres an example in SQL BOL under sp_AddLinkedServer
EXEC sp_addlinkedserver
@server='DB2',
@srvproduct='Microsoft OLE DB Provider for DB2',
@catalog='DB2',
@provider='DB2OLEDB',
@provstr='Initial Catalog=PUBS;Data Source=DB2;HostCCSID=1252;Network Address=XYZ;Network Port=50000;Package Collection=admin;Default Schema=admin;'
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.