会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
appleying
博客园
首页
博问
闪存
新随笔
订阅
管理
2011年3月31日
oracle创建自增序列
摘要: //创建序列create sequence t_seqincrement by 1 start with 100 maxvalue 999999;//创建触发器create trigger t_trigger before insert on t for each rowbeginselectt_seq.nextval into :new.id from dual;//id需要自增的序列end;
阅读全文
posted @ 2011-03-31 16:26 appleying
阅读(173)
评论(0)
推荐(0)
编辑