정의된 시퀀스 조회
select * from user_sequences
현재 시퀀스 조회
select 시퀀스네임.currval from dual
다음 시퀀스 조회
select 시퀀스네임.nextval from dual
select * from user_sequences
현재 시퀀스 조회
select 시퀀스네임.currval from dual
다음 시퀀스 조회
select 시퀀스네임.nextval from dual
'업무 > DB' 카테고리의 다른 글
[oracle] 날짜 집어넣기 (0) | 2012.04.10 |
---|---|
[mysql] auto_increment 자동증가값 초기화 (0) | 2012.04.04 |
[mysql] 파일에있는 SQL문 실행 (0) | 2012.01.31 |
[pgsql] pg_hba.conf 설정 적용하기(리로드) (0) | 2012.01.31 |
[MySQL] 날짜 포맷지정해서 select하기 (0) | 2011.10.31 |