Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> ORA-08002: sequence CYB_RECEIPT_NO.CURRVAL
Select NEXTVAL from the sequence before selecting CURRVAL.
Exemple:
1
1
> When i do a select on my sequence to look at currval, it gives me the
following
> error although the nextval is generating correct number and I have around
ten
> thousand numbers from this sequence.
>
> select cyb_receipt_no.currval from dual
>
> ORA-08002: sequence CYB_RECEIPT_NO.CURRVAL is not yet defined in this
session
Denis ALEXANDRE, http://alexnet.apro.fr/ Received on Mon May 10 1999 - 11:21:11 CDT
![]() |
![]() |