SQL> SELECT 2 s_tst01.CURRVAL 3 FROM 4 dual; CURRVAL ---------- 2 SQL> SELECT 2 s_tst01.NEXTVAL 3 FROM 4 dual; NEXTVAL ---------- 3