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: RahulG31
Subject: Reply to: Updating Cursor row withour using FOR UPDATE
Posted: Thu Nov 10, 2016 4:01 am (GMT 5.5)

Rohit Umarjikar wrote:
Please try declaring it an insensitive cursor and let us know.

chandan.inst already knows how to achieve what he wants. He is more interested in knowing the 'Why' of such a behavior when he doesn't use 'FOR UPDATE' clause.

This Link probably explains the 'Why'. As it says:
Quote:
CS also opens the possibility - though usually only a slight one - that rows can be mistakenly processed twice or not at all.


.


Viewing all articles
Browse latest Browse all 8500

Trending Articles