If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Provider returned message: SQL7008 - not valid for operation

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-17-06, 18:44
kareny211 kareny211 is offline
Registered User
 
Join Date: Mar 2006
Posts: 1
Provider returned message: SQL7008 - not valid for operation

I'm not sure if this is a DB2 or SQL Server issue, however here it is...

I have a sql server 2000 database and have linked a DB2 database ( which is on an AS400 V5r3) to the sql server. The link uses a DSN connection that was created using the iseries driver v.10.00.06.00. The DSN works, I can create a sample app in visual basic that connects to the DB2 based on the dsn and does an update and all is good.

I created a strored procedure on the sql server that performs a select from a table on the linked DB2 and no problem, I changed it to an update statement and get the following error:

Provider returned message: SQL7008 - <table name> in <library> not valid for operation

I would really appreciate any advice on what this may be.
Thank you in advance,

Karen
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On