Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: How get the current value from a sequence?
On Fri, 3 Dec 2004, crb_at_amsa.gov.au wrote:
> Daniel Morgan wrote
> > Daniel, > > I don't need to reconsider my response, the original question > was How [to] get the current value from a sequence?
Yes you do. Your statement that Daniel is telling you to reconsider is the following:
I believe that executing the command
select seq_name.nextval from dual; does not increment the sequence (the first time), but defines the sequence for the session.
This is incorrect, and there is no explanation other than it is incorrect.
-- Galen BoyerReceived on Fri Dec 03 2004 - 08:14:19 CST