序列

--创建序列 
create sequence seq_qjt

create table dept
(
deptno number primary key not null,
deptname nvarchar2(32)
) tablespace qjttest


insert into dept values(1,'开发部')

select * from dept

insert into dept values(seq_qjt.nextval,'傻叉部')

posted @ 2017-09-18 08:58  <烟花易冷>  阅读(110)  评论(0编辑  收藏  举报