会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
LIFE
The important thing in life is to have a great aim and the determination to attain it
博客园
首页
新随笔
联系
订阅
管理
2018年9月13日
Day40-数据库入门学习-完整性约束、关联关系
摘要: 一、完整性约束 1.什么是约束 为了保证数据的合法性与完整性,对字段进行了除了数据类型以外添加额外的约束。 2.not null 2.1意义 not null是非空约束,数据不能为空 2.2语法 3.default 3.1意义 default 默认值约束,可以指定字段的默认值 3.2语法 4.uni
阅读全文
posted @ 2018-09-13 16:57 藏岚
阅读(197)
评论(0)
推荐(0)
编辑
公告