469,307 Members | 1,958 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,307 developers. It's quick & easy.

Db2 cursor for update with join syntax

Can declare cursor c1 for update and update where current of c1 syntax be used with join involving select queries ?
Mar 13 '15 #1
3 2195
Rabbit
12,516 Expert Mod 8TB
What is it you're trying to do? Most of the time, a cursor is not needed.
Mar 13 '15 #2
Yes i know for multiple update operations cursor is not necessary but if it is required to use cursor with the FOR UPDATE OF <column name> and the 'where current of cursor_name' syntax and the query contains an inner join. Can these 3 things be used together ?
Mar 14 '15 #3
Rabbit
12,516 Expert Mod 8TB
You still need to explain what it is you're trying to do, not what you want to do to solve it.
Mar 14 '15 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by Phil Powell | last post: by
7 posts views Thread by Dave | last post: by
4 posts views Thread by MAB | last post: by
2 posts views Thread by Martin | last post: by
5 posts views Thread by shanks0092001 | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.