数据库其他基本概念

一、约束(constraint) 数据库约束是为了保证数据的完整性(正确性)而实现的一套机制 创建表时添加 创建表后添加 删除       alter table 表名 drop constraint 约束名; 主键约束(PK)primary key唯一且非空 alter table Student  add constraint PK_Student primary key(sId)  其中co
相关文章
相关标签/搜索