视图序列
来源:互联网 发布:山东大学 李利平 知乎 编辑:程序博客网 时间:2024/06/08 06:09
CREATE table t_quser2
(qid NUMBER nut null primary key
qnaem VARCHAR2(20)
);
--创建序列
create sequence seq_tquser
start with 1
maxvalue 99999
nocycle
nocache;
--序列的使用
select seq_quser.currvalue from dual;--查看当前值
--序列创建好之后先要next一下才能使用
INSERT into t_quser (qid,qname) VALUES (1,'q1');
INSERT into t_quser (qid,qname) VALUES (2,'q1');
INSERT into t_quser2 (qid,qname) VALUES (seq_tquser.nextvalue,'q1');
CREATE view v_emp
as select e.empno,e.ename,e.job
from emp e;
(qid NUMBER nut null primary key
qnaem VARCHAR2(20)
);
--创建序列
create sequence seq_tquser
start with 1
maxvalue 99999
nocycle
nocache;
--序列的使用
select seq_quser.currvalue from dual;--查看当前值
--序列创建好之后先要next一下才能使用
INSERT into t_quser (qid,qname) VALUES (1,'q1');
INSERT into t_quser (qid,qname) VALUES (2,'q1');
INSERT into t_quser2 (qid,qname) VALUES (seq_tquser.nextvalue,'q1');
CREATE view v_emp
as select e.empno,e.ename,e.job
from emp e;
阅读全文
0 0
- 视图序列
- oracle视图、同义词、序列
- 同义词,序列和视图
- 视图、同义词、序列详解
- 索引、序列、视图
- oracle 视图、同义词、序列
- oracle 视图 序列 同义词
- 索引视图序列
- oracle同义词、序列、视图
- 视图、序列、索引、同义词
- RowNum、集合、视图、序列
- 序列视图Series Views
- Oracle(序列 视图)
- oracle 序列 视图
- 视图view,序列sequence
- Oracle,视图,序列,索引
- 序列、视图、索引-阎明杰
- Oracle事务、视图、序列
- Spring AOP : Advice 声明 (通知注解)
- Android--Toast多次点击只显示一次
- 面向对象的基本特征----笔记-1
- Oracle之translate及replace函数用法总结
- Vladik and flights CodeForces
- 视图序列
- 什么是加密,它是如何工作的?通俗易懂
- form表单无法提交input disabled内容
- unicode汉字、数字、英文等字符范围表示
- 设置IO缓存区
- Android 网络编程
- 重拾指针(整理自一个知乎上非常不错的回答)
- [git]Git的使用流程(一)
- android GLSurfaceView匹配屏幕宽度及视频宽高比设置view大小