兼容Oracle sequence
3. 测试用例
ivorysql=# CREATE sequence seq;
CREATE SEQUENCE
ivorysql=# SELECT seq.NEXTVAL FROM DUAL;
nextval
---------
1
(1 row)
ivorysql=# ALTER sequence seq restart start with 10;
ALTER SEQUENCE
ivorysql=# SELECT seq.NEXTVAL FROM DUAL;
nextval
---------
10
(1 row)
ivorysql=# DROP SEQUENCE seq;
DROP SEQUENCE