摘要: 例子: --删除主键alter table Employeedrop constraint PK_Emloyee --删除检查约束 alter table Employee drop constraint CK_EmployeeId 阅读全文
posted @ 2019-04-29 19:19 我是神奇的小白 阅读(1489) 评论(0) 推荐(0) 编辑
摘要: 语法: alter table 表名 with nocheck add constraint 约束名 约束类型 具体的约束说明 对表中现有的数据不做检查, 只对添加约束后再录入的数据进行检查。 例子: alter table Employee with nocheckadd constraint C 阅读全文
posted @ 2019-04-29 19:03 我是神奇的小白 阅读(2737) 评论(0) 推荐(0) 编辑