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

Linked server query

Status
Not open for further replies.

is47501

Programmer
Joined
Nov 15, 2001
Messages
9
Location
US
I am receiving this error

"SQL0501N The cursor specified in a FETCH or CLOSE statement is not open. SQLSTATE=24501"

when running a query against a linked server in Sql Server 7.0. The linked server is an UDB (DB2) database linked with the OLE DB provider for ODBC. I do not get this error on every table I attempt to query.

How do I correct this problem?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top