
Code
CREATE SEQUENCE testid
drop sequence test_sequence
CREATE SEQUENCE test_sequence
increment by 1
start with 10
nomaxvalue
nocycle
cache 10;
insert into test2( testid, testname) values(testid.nextval,'aaa')
select * from test2
posted @
2008-10-28 11:09 gwazy 阅读(69) 评论()
编辑 收藏