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
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