DB2 sequence

CREATE SEQUENCE Base_CPTYRating_sequence
start with 1
increment by 1
no maxvalue
minvalue 1
NO CYCLE
CACHE 20;


currentval: values PREVVAL for Base_CPTYRating_sequence;
nextval: values currentval for Base_CPTYRating_sequence;

猜你喜欢

转载自vicento4.iteye.com/blog/2285628
db2