시퀀스 만들기
시퀀스 삭제
create sequence SEQ_TBL시퀀스 사용
increment by 1 -- 증가값
start with 1 -- 초기값
nomaxvalue -- 최대값 제한 없음
nocycle
nocache;
select
SEQ_TBL.CURRVAL, -- 현재 시퀀스 값
SEQ_TBL.NEXTVAL -- 다음 시퀀스 값
from dual;
시퀀스 삭제
drop sequence SEQ_TBL;
TAG sequence
View Comments,
Trackbacks
댓글을 달아 주세요