创建序列
create sequence student_seq
increment by 1
start with 1
nomaxvalue
nocycle
cache 10引用序列
insert into student(student_id,....) values(student_seq.nextval,......)
create sequence student_seq
increment by 1
start with 1
nomaxvalue
nocycle
cache 10引用序列
insert into student(student_id,....) values(student_seq.nextval,......)
解决方案 »
- 求个win7下11g的手工建库的步骤,详细的最好
- 我有个需求 请教老师帮忙 谢谢
- CPU都几乎占用100%,我该怎么办?
- 在后台处理简单的数字代码识别
- 排序的超级难的问题~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- SYSTEM用户怎样commit普通用户的数据?
- 请教一个SQL语句?
- 把查询结果直接存为文件,命令是什么啊?
- 求求兄弟帮帮忙,我的一update SQL语句为什么不能执行 在线等待呀
- declare的问题!
- 我是新手,不知怎么搞的, OracleOraHome92ManagementServer 服务启动不起了.
- 获得表信息 太慢了 大家帮帮忙
increment by 1
start with 1
nomaxvalue
nocycle
cache 10--在插入表的语句中这么用:insert into student values(seq_name.nextval,'王小二',.....) ;