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!

Using OpenRowSet - connecting to db2/400

Status
Not open for further replies.

snufse1

Programmer
Nov 14, 2008
66
US
I have problems with my sql script using linked server (not even sure if the syntax is correct). Anyway, get error:

The OLE DB provider "AS400SRV_MSDASQL" has not been registered.

insert into #JDE_EqmTable
SELECT *
FROM OPENROWSET('AS400SRV_MSDASQL','Data Source=vgsys400;Trusted_Connection=yes;
Integrated Security=SSPI','EXEC QGPL.get_labdet @JobNumber1, @ItemNumber1, @JdeDateFrom, @JdeDateTo')


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top