업무/DB

[oracle] 시퀀스 조회하기

랄프위검 2011. 9. 29. 17:01
정의된 시퀀스 조회

select * from user_sequences


현재 시퀀스 조회

select 시퀀스네임.currval from dual


다음 시퀀스 조회

select 시퀀스네임.nextval from dual