oracle创办自增长列

oracle创建自增长列create sequence row_id---创建序列名start with 1---从1开始increment by 1---每次增

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