2013年12月22日

oracle 主键自动增长

摘要: oracle 主键自动增长2009-12-11 16:07:00|分类:数据库资料|字号订阅这几天搞Oracle,想让表的主键实现自动增长,查网络实现如下:create table simon_example( id number(4) not null primary key, name varchar2(25))-- 建立序列:-- Create sequencecreate sequence SIMON_SEQUENCEminvalue 1maxvalue 999999999999999999999999999start with 1increment by 1cache 20;-- 建 阅读全文

posted @ 2013-12-22 21:03 淇水na个弯 阅读(249) 评论(0) 推荐(0) 编辑

导航