數據庫其他基本概念

一、約束(constraint) 數據庫約束是爲了保證數據的完整性(正確性)而實現的一套機制 創建表時添加 創建表後添加 刪除       alter table 表名 drop constraint 約束名; 主鍵約束(PK)primary key唯一且非空 alter table Student  add constraint PK_Student primary key(sId)  其中co
相關文章
相關標籤/搜索