2014-01-23 2 views
1

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" 
+0

http://stackoverflow.com/questions/3487691/dropping-unique- 시도 constraint-from-mysql-table – Damodaran

답변

1

alter table mytable drop uk_mytable; 
관련 문제