Hi,
I am trying to update a DB2 table from Sql Server using Openquery but it gives me an
error, I tried selecting rows from the DB2 table using Openquery and it works fine.
Following is the update query:
UPDATE OPENQUERY(DB2_DB2T, 'SELECT STATUS FROM $ZUDBA01.TPT20_VOLS
WHERE AUD_NBR=10000004 AND POLL_NUM_ACTUAL=''999456789'' AND
REC_TYP=''SYM''') SET STATUS='RETURNED'
This query when executed gives following error:
Server: Msg 7399, Level 16, State 1, Line 35
OLE DB provider 'MSDASQL' reported an error.
[OLE/DB provider returned message: Insufficient base table information for updating or
refreshing.]
OLE DB error trace [OLE/DB Provider 'MSDASQL' IRowsetChange:: SetData returned
0x80004005: ].
Kindly help me out.
Thanks and Regards,
Pranjal
I am not sure how much this helps...but check it
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=113747&SiteID=1
sql
No comments:
Post a Comment