dbTalk Databases Forums  

Re: How to update many rows at a time in DB2

ibm.software.db2.udb ibm.software.db2.udb


Discuss Re: How to update many rows at a time in DB2 in the ibm.software.db2.udb forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Andreas Kannegiesser
 
Posts: n/a

Default Re: How to update many rows at a time in DB2 - 11-23-2007 , 11:11 AM






Hi,<br />
<br />
sqlcode -811 means, that the result of your SELECT on the right side of the = operator returns more than one value, which cannot be assigned to one field...<br />
<br />
You can see the full message with db2 ? sql-811 or search for SQL0811N in the docs.<br />
<br />
So you would have to include your where clause also in the (sub-)SELECT to make the result unique, or use the alternative technique which is explained in the docs.<br />
<br />
Good luck,<br />
aka.

Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.