Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can anyone suggest a connector between MS Sql and IBM DB2?

Status
Not open for further replies.

crjones

Programmer
Jan 26, 2004
9
US
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;'

Theres also this link



Maybe helpfull....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top