Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: View current seq. no.
You can use this to view to current value of a sequence within that session
only. It means that you must get the seq.nextval before you select the
current value.
Shirley......
Vitaliy Mogilevskiy wrote in message <37331DCE.3911B406_at_earthlink.net>...
>Use this:
>
>SQL> select <seq_name>.currval from dual;
>
>Now knowing this you can create dynamic SQL
>to get all current values for all of them
>
>Vitaliy Mogilevskiy
>
>
Received on Sun May 09 1999 - 19:48:38 CDT
![]() |
![]() |