In MySQL, I've create a unique composite key, based on 3 columns.
How can I delete this unique key constraint without deleting the entire table?
In MySQL, I've create a unique composite key, based on 3 columns.
How can I delete this unique key constraint without deleting the entire table?
I found an answer and it worked
SHOW INDEX table_name
Then find out the constraint from "key_name" which you want to drop.
This "key_name" will be as "arbitrary_index_name
" for composite keys.
Then use this DROP query
DROP INDEX arbitrary_index_name ON table_name