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: foocounter.CURRVAL

Re: foocounter.CURRVAL

From: Einar Magnus Råberg <einarmr_at_tihlde.org>
Date: Fri, 16 Mar 2001 11:51:20 +0100
Message-ID: <3AB1F028.2E03B4B8@tihlde.org>

Frank wrote:
>
> Hi!
>
> foocounter.currval will contain the last generated sequence no after you
> have inserted.

But using just foocounter.CURRVAL after the first INSERT might lead to concurrency problems, e.g. if someone else incremented the counter exactly in-between my two INSERTs.

Right?

-Einar Received on Fri Mar 16 2001 - 04:51:20 CST

Original text of this message

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