Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: nextval from dual;

Re: nextval from dual;

From: scotty <invalid-spammer_at_invalid.invalid>
Date: Tue, 26 Nov 2002 23:52:11 +0000
Message-ID: <1928uukh0gko89g8in0jg84mbesckl89a6@4ax.com>


Bag o' Fog wrote:

>Could anyone tell me how to get the next value of an auto-number field
>in oracle without bumping the auto-number up one, like this seems to
>
>select autonum_sequence_corporate_id.nextval from dual;

By jove I think i've got it!

select autonum_sequence_corporate_id.currval from dual; Received on Tue Nov 26 2002 - 17:52:11 CST

Original text of this message

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