muthuvel
Active User

Joined: 29 Nov 2005 Posts: 217 Location: Canada
|
|
|
|
WITH HOLD :
Prevents the cursor from being closed as a consequence of a commit operation.
When WITH HOLD is specified, a commit operation commits all the changes in the current unit of work, but releases only locks that are not required to maintain the cursor. Afterwards, an initial FETCH statement is required before a positioned update or delete statement can be executed. After the initial FETCH, the cursor is positioned on the row following the one it was positioned on before the commit operation.
Note : All cursors are implicitly closed by a rollback operation even if a "WITH HOLD" option is specified. |
|