Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on positioned updates and delete within the DB2 forums, part of the Databases category; Select * from gtable where col1 > 93 order by col1 for update of col2 . update gtable set col2= col2 * -1 where current of testcursor. when executing the ...
|
|||||||
|
|||
|
positioned updates and delete
Select * from gtable where col1 > 93 order by col1 for update of col2 .
update gtable set col2= col2 * -1 where current of testcursor. when executing the update query i got the error of sqlcode = -510, error: the table designated by the cursor of the update or delete statement cannot be modified . is it possible to update the current row pointed by the cursor for the select query with order by and for update of clause? Last edited by geek_mem; 11-05-2008 at 05:45 AM. |
| The Following User Says Thank You to geek_mem For This Useful Post: | ||
| Sponsored Links |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| delete | sarathi trichy | Windows | 1 | 11-04-2008 09:40 AM |
| AJAX Made Easy - Flash 10 Updates that Could Cripple Your Website | Lokesh M | AJAX & XML | 0 | 10-10-2008 04:50 AM |
| Latest updates subscription service via RSS and Email | admin | Site News & Announcements | 0 | 03-03-2008 03:01 PM |
| how to delete | sarathi trichy | Windows | 2 | 11-06-2007 08:32 AM |
| Delete values in single a row without using DELETE keyword. | Geek_Guest | SQL | 22 | 10-25-2007 06:50 AM |