摘要:
------------------------------------------------------------------------ --通过t-sql语句来创建约束 ------------------------------------------------------------------------ --新建一张表:员工信息表 create table Employees... 阅读全文
posted @ 2017-07-15 09:32
Strugglinggirl
阅读(188)
评论(0)
推荐(0)
摘要:
约束——保证数据完整性 数据库约束是为了保证数据的完整性(正确性)而实现的一套机制。 非空约束 主键约束(PK)primary key constraint 唯一且不为空 唯一约束(UQ)unigue constraint 唯一,允许为空,但只能出现一次 默认约束(DF)default constr 阅读全文
posted @ 2017-07-15 07:24
Strugglinggirl
阅读(167)
评论(0)
推荐(0)

浙公网安备 33010602011771号