序列

--创建序列
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 on 2017-09-18 08:39  溜氓  阅读(138)  评论(0编辑  收藏  举报

导航