oracle创建自增长列
create sequence row_id ---创建序列名 start with 1 ---从1开始 increment by 1 ---每次增长1 maxvalue 999999999 ---最大值 minvalue 1 ---最小值 cycle ---循环 cache ---缓存 order; 调用 insert into mytable values(row_id.nextval,'aaa')
发布时间: 2012-12-25 16:18:28 作者: rapoo
oracle创建自增长列
create sequence row_id ---创建序列名 start with 1 ---从1开始 increment by 1 ---每次增长1 maxvalue 999999999 ---最大值 minvalue 1 ---最小值 cycle ---循环 cache ---缓存 order; 调用 insert into mytable values(row_id.nextval,'aaa')