序列 sequence

这是课程中一道关于序列的题目

CREATE SEQUENCE seq1
START WITH 100
INCREMENT BY 10
MAXVALUE 200
CYCLE
NOCACHE;
The sequence SEQ1 has generated numbers up to the maximum limit of 200. You issue the
following SQL statement:
SELECT seq1.nextval FROM dual;

将显示值为1   

如果再次发出此语句那么值为11

你可能感兴趣的:(序列 sequence)