mysql - Delete Composite unique key [ applied on 3 fields combinely ] -
In MySQL, I have created a unique composite key based on 3 columns.
How can I remove this unique key barrier without removing the entire table?
I got an answer and it worked
show index table_name Then check the "key_name" barrier that you want to leave.
This will be "key_name" for the combined parenthesis in the form of " arbitrary_index_name ". then use this DROP query
drop indexes arbitrary_index_name on table_name
Comments
Post a Comment