mysql 多个字段建立唯一索引

alter table scm_purchase_contract add unique index(org_id,contract_name);

猜你喜欢

转载自www.cnblogs.com/hoge66/p/12628259.html