Background documentation-2029: <sequence_name>.CURRVAL is not yet defined in this session Locate this document in the navigation structure

 

Explanation

You attempted to execute <sequence_name>.CURRVAL (Specifying Values (extended_value_spec)) before using <sequence_name>.NEXTVAL in the curret database session.

User Response

Execute <sequence_name>.NEXTVAL first, and then <sequence_name>.CURRVAL.