Stepwise-Lab

ORA-08002: Sequence CURRVAL is not yet defined in this session

CURRVAL returns the last NEXTVAL of your own session, so call NEXTVAL first.

On the exam

This error belongs to the topic Views, sequences, indexes of exam 1Z0-071.

In the SQL lab the same explanation appears next to your own statement, with a hint about what to change in it.

All Oracle errors