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: QUESTION ON SEQUENCE VALUES - 9iR2

Re: QUESTION ON SEQUENCE VALUES - 9iR2

From: Jeremy <jeremy0505_at_gmail.com>
Date: Thu, 30 Aug 2007 16:28:14 +0100
Message-ID: <MPG.2140f2675393cfda98a49c@news.individual.net>


In article <46bb4cb5$0$16331$88260bb3_at_free.teranews.com>, Brian Peasland says...
>
> For these types of situations, after I query NEXTVAL, I put the value
> into a variable so that I can recall it later. This way, I guarantee
> that I do not lose my sequence's value.
>
> The CURRVAL value should survive for the duration of your session. But
> some apps like many web apps do not always use the same session for the
> user. This is one of my primary drivers for storing the sequence value
> in a variable.
>
>

Late reply to your reply - the strange behaviour encountered was, predictably, application development error.....

Thanks.

-- 
jeremy
Received on Thu Aug 30 2007 - 10:28:14 CDT

Original text of this message

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