I believe that declaring a CURSOR WITH HOLD means that the position within the cursor is retained even when a COMMIT is executed.
I can find this in the DB2 SQL Reference, however, I can't find anywhere that states if the WITH HOLD clause is NOT included, the cursor position is lost.
1) Does anyone know where this is documented?
2) Is the cursor closed on a COMMIT, or just re-positioned at the beginning?
I can find this in the DB2 SQL Reference, however, I can't find anywhere that states if the WITH HOLD clause is NOT included, the cursor position is lost.
1) Does anyone know where this is documented?
2) Is the cursor closed on a COMMIT, or just re-positioned at the beginning?