Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

DB2 :: RE: Updating Cursor row withour using FOR UPDATE

$
0
0
Author: Arun Raj
Posted: Thu Nov 10, 2016 12:08 pm (GMT 5.5)

Rohit Umarjikar wrote:
it is impacting the where clause in your case because you did not get the sqlcode 100 for second fetch
The OPs point is that the column in the WHERE clause of the cursor (COL3) was not UPDATEd, but in the SELECT (COL1) was. How does trying an insensitive cursor help understand the behavior of the OP's 'normal' cursor?
_________________
Arun
----------------------------------------------------------------------------------------------------
Love is like an hourglass, with the heart filling up as the brain empties. -Jules Renard


Viewing all articles
Browse latest Browse all 8500

Trending Articles