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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setup Linked Server from SQL Server 2005

Status
Not open for further replies.

AndyKr

Programmer
Jul 2, 2003
84
0
0
US
Hi Guys

Anyone have any information on setting up a linked server to a Teradata system from SQL Server 2005.

I found this link on line but cannot get it to work correctly:


Seems to me that that this code should work:
EXEC sp_addlinkedserver
@server = 'TDATA',
@srvproduct = 'Teradata',
@provider = 'MSDASQL',
@location = '[server_location_here]',
@provstr = 'DRIVER={Teradata};UID=[login_name];PWD=[password];'
GO

But all I get is the following error:
OLE DB provider 'MSDASQL' reported an error.
[OLE/DB provider returned message: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified]
OLE DB error trace [OLE/DB Provider 'MSDASQL' IDBInitialize::Initialize returned 0x80004005: ].


----
Andy Kramek
Visual FoxPro MVP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top