select seq.currval from dual 

ORA-08002 error is appearing. 
sequence ….CURRVAL is not yet defined in this session 

Sebebini açıklayabilir misiniz?