我的代码
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"
答案 0 :(得分:1)
试试这个
alter table mytable drop uk_mytable;