SyntaxFix
Write A Post
Hire A Developer
Questions
select MY_SEQ_NAME.currval from DUAL;
Keep in mind that it only works if you ran select MY_SEQ_NAME.nextval from DUAL; in the current sessions.
select MY_SEQ_NAME.nextval from DUAL;