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: ORA-01002 Fetch out of sequence

Re: ORA-01002 Fetch out of sequence

From: Paul Simmons <famine_at_death.iinet.net.au>
Date: Wed, 12 May 1999 10:13:41 +0800
Message-ID: <3738E3D5.4C8699F8@death.iinet.net.au>


Roy Brokvam wrote:
>
> Paul Simmons wrote in message <373781CD.8A25F779_at_death.iinet.net.au>...
>
> [snip]
> >More to the point it is good to remember that any commit before a cursor
> >is closed will close the cursor(s)

> No, that's not correct. The cursor remains open after a COMMIT/ROLLBACK. A
> COMMIT makes changes permanent, then releases row locks. A ROLLBACK undoes
> changes, then releases row locks. Period.

<Just knocked up a quick test prog and ...>

It appears that you are correct. My ideas may have stemmed from when I was writing embedded SQL with ingres (which does work like I said), however oracle does not.
--
Regards

Paul Simmons Received on Tue May 11 1999 - 21:13:41 CDT

Original text of this message

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