添加唯一约束
ALTER TABLE tbl_name ADD [CONSTRAINT [symbol]]
UNIQUE [INDEX|KEY] [index_name] [index_type] (index_col_name,...);
请问在添加唯一约束语句中 [INDEX|KEY] [index_name] [index_type] 这3段代表什么涵义 啊?
ALTER TABLE tbl_name ADD [CONSTRAINT [symbol]]
UNIQUE [INDEX|KEY] [index_name] [index_type] (index_col_name,...);
请问在添加唯一约束语句中 [INDEX|KEY] [index_name] [index_type] 这3段代表什么涵义 啊?
2017-05-10
举报