How to fix the Oracle error ORA-08002: sequence string.CURRVAL is not yet defined in this session?
In this post, you’ll learn more about the Oracle ErrorORA-08002: sequence string.CURRVAL is not yet defined in this session with the details on why you receive this error and the possible solution to fix it.
Oracle Error Description
ORA-08002: sequence string.CURRVAL is not yet defined in this session
Reason for the Error ORA-08002: sequence string.CURRVAL is not yet defined in this session
sequence CURRVAL has been selected before sequence NEXTVAL
How to fix the Error ORA-08002: sequence string.CURRVAL is not yet defined in this session ?
You can fix this error in Oracle by following the below steps
select NEXTVAL from the sequence before selecting CURRVAL
Leave Your Comment