Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Explicit Cursor Commits

Re: Explicit Cursor Commits

From: Jean-Luc <jeanluc_at_zap.a2000.nl>
Date: Mon, 10 Aug 1998 22:26:26 +0200
Message-ID: <6qnlf6$9qj$1@pascal.a2000.nl>


Because a commit closes the cursor. What you should is select all the data you
need, including the internal key. Order by internal key, and write your cursor in a
way that it will only include those rows that are greater than parameter. First
time open with a value lower than all internal keys.

Before the commit: close the cursor, commit, open cursor with the internal key
before the close as parameter.

Good luck!
Jean-Luc

Doug Cowles wrote in message <35CB86C7.EC0CE1ED_at_i84.net>...
>Why does a fetch out of sequence error occur when a commit is done
>inside of a fetch loop of an open cursor? (pl/sql)
>
>Dc -
>
>
>
Received on Mon Aug 10 1998 - 15:26:26 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US