Oracle Constraint_type,约束类型
来源:互联网 发布:电气成套报价软件 编辑:程序博客网 时间:2024/06/02 17:40
oracle constraint_type 问题
select distinct constraint_type from dba_constraints;
结果:
CONSTRAINT_TYPE
?
C --check
O
P --primary key
R --forgien key
U --unique
V
其他三个是什么?
结果:
CONSTRAINT_TYPE
?
C --check
O
P --primary key
R --forgien key
U --unique
V
其他三个是什么?
constraint的类型:
1、primary key unique and not null,可以是多个column的联合。composite pk只能被定义为table constraint
2、foreign key parent table 中的primary key中的values必须包含child table中所有的values. share column的parent-child 关系
3、unique
4、check present in a static list of values permitted for the column.
5、not null 只能被定义在column constraint
(2,3,4允许null)
1、primary key unique and not null,可以是多个column的联合。composite pk只能被定义为table constraint
2、foreign key parent table 中的primary key中的values必须包含child table中所有的values. share column的parent-child 关系
3、unique
4、check present in a static list of values permitted for the column.
5、not null 只能被定义在column constraint
(2,3,4允许null)
Type Code | Type Description | Acts On Level |
C | Check on a table | Column |
O | Read Only on a view | Object |
P | Primary Key | Object |
R | Referential AKA Foreign Key | Column |
U | Unique Key | Column |
V | Check Option on a view | Object |
- Oracle Constraint_type,约束类型
- Oracle Constraint_type,约束类型
- Oracle Constraint_type,约束类型
- Oracle Constraint_type,约束类型
- oracle constraint_type 问题
- oracle constraint_type 问题
- oracle数据库约束类型
- oracle date类型字段建约束
- oracle数据库的5种约束类型
- oracle 建表类型以及约束
- 类型约束
- 类型约束
- 类型约束
- oracle表的创建、类型、结构和约束
- Oracle零基础学习第三次课----表、字段类型、约束
- oracle 数据库 数据表的5个约束类型
- oracle约束
- ORACLE 约束
- 机遇,永远属于有准备的人!
- 常见数据库分页SQL语句
- 一步步用SDK构建记事本程序(一)
- 关于计算机研究生报考方向的简要介绍
- 批处理命令
- Oracle Constraint_type,约束类型
- 河北副省长揭发:奶中加毒三鹿隐瞒整整3年
- 医学专家痛批伪科学 “酸碱体质”纯属谬论
- 免费WEB环境套件介绍
- linq(update) 更新用 自动赋值方法
- www.sourceforge.net已经升级
- 几种查找算法
- ASP.NET刷新页面的六种方法
- 一次编码问题的解决,居然是这样