添加约束及联合主键

1、PLSQL为某个字段添加约束 --为表增加主键约束 alter table 表名 add constraints 约束名称(多个约束名称不能相同) primary key(添加约束的字段); --添加唯一约束,tab_check_unique表示约束的名称 alter table tab_check add constraints tab_check_unique unique(che_nam
相关文章
相关标签/搜索