创建序列:create sequence SEQ
minvalue 1
maxvalue 999999999999999999999999999
start with 61
increment by 1
cache 30
order;使用:insert into tname values(序列名.nextval)
minvalue 1
maxvalue 999999999999999999999999999
start with 61
increment by 1
cache 30
order;使用:insert into tname values(序列名.nextval)
是不是每使用一次序列名.nextval,就会让序列加1???
我有多个表要用到自动增长类型的字段,那么对应每个不同的表,都要建一个不同的序列,
是这样子吗?
调用当前的用序列名.currval
每个不同的表,都要建一个不同的序列