Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> foocounter.CURRVAL
Hi!
foocounter.currval will contain the last generated sequence no after you have inserted.
Before ANY number is generated in the current session, you will get the message:
"ORA-08002: sequence foocounter.CURRVAL is not yet defined in this session"
Frank
eg.
SELECT foocounter.currval
FROM DUAL;
Received on Thu Mar 15 2001 - 09:51:29 CST
![]() |
![]() |