如何删除Mysql中的唯一约束?
我的代码 但显示以下错误如何删除Mysql中的唯一约束?,mysql,Mysql,我的代码 但显示以下错误 alter table mytable drop unique constraint uk_mytable; 试试这个 "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unique constraint username' at line 1"
alter table mytable drop unique constraint uk_mytable;
试试这个
"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unique constraint username' at line 1"
alter table mytable drop uk_mytable;