Re: Sequence usage

From: Robert Monical <monical_at_rmi.net>
Date: 1996/07/16
Message-ID: <4sg7nr$k87_at_natasha.rmii.com>#1/1


In article <4sfopu$7lr_at_mailhost.qsp.co.uk>, Steven_Dodsworth_at_qsp.co.uk says...
>
>In <31ea96db.1557249_at_news.inet.it>, stefano_at_mondobit.com (Stefano Ducati) writes:
>>I create a sequence with sqlplus
>>sqlplus>create sequence counter;
>>
>>But now I have to extract the numbers.
>>
>>How????
>>Thanx
>>
>>Stefano
>>
>
>select counter.nextval
>from dual;
>
>Bye,
>Steve

For what it is worth:

   select counter.CurrVal from dual;

Returns the current value.

I have several sequences and have yet to use this last

Regards

Autocratic newsserver stuff follows.
Autocratic newsserver stuff follows.
Autocratic newsserver stuff follows.
Autocratic newsserver stuff follows.
Autocratic newsserver stuff follows.
Autocratic newsserver stuff follows.
Autocratic newsserver stuff follows.
Autocratic newsserver stuff follows.
Received on Tue Jul 16 1996 - 00:00:00 CEST

Original text of this message