Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: fetch across commits
A copy of this was sent to Doug Cowles <dcowles_at_bigfoot.com>
(if that email address didn't require changing)
On Fri, 28 May 1999 15:17:16 -0400, you wrote:
> On an earlier post, someone referred me to an Oracle article about
>a snapshot
>too old error. But the article raised another question for me. Here is
>the last
>paragraph of the article.
>
> http://support.us.oracle.com/cgi-bin/cr/getpart_cr.cgi?BUL-103220.525
>
> Summary:Fetches across commits as explained in last two cases
>are not
> supported by ANSI standard. Accoding to ANSI standard a cursor
>
> is invalidated when a commit is performed and should be closed
> and reopened. Oracle allows users to do fetch across commits but
>
> users should be aware that it might result in ORA-1555.
>
>Oracle allows users to do fetch across commits. I thought you got a
>fetch
>out of sequence error when you did that?
>
>- Dc.
you get a fetch out of sequence if you open a cursor FOR UPDATE and attempt to fetch across commits. By default, we allow fetches across commits for 'normal' cursors.
See http://www.oracle.com/ideveloper/ for my column 'Digging-in to Oracle8i'...
Thomas Kyte
tkyte_at_us.oracle.com
Oracle Service Industries
Reston, VA USA
--
Opinions are mine and do not necessarily reflect those of Oracle Corporation
Received on Fri May 28 1999 - 14:48:23 CDT