mysql - Delete Composite unique key [ applied on 3 fields combinely ] -



mysql - Delete Composite unique key [ applied on 3 fields combinely ] -

in mysql, i've create unique composite key, based on 3 columns.

how can delete unique key constraint without deleting entire table?

i found reply , worked

show index table_name

then find out constraint "key_name" want drop.

this "key_name" "arbitrary_index_name" composite keys.

then utilize drop query

drop index arbitrary_index_name on table_name

mysql composite-key

Comments

Popular posts from this blog

c - Compilation of a code: unkown type name string -

java - Bypassing "final local variable defined in an enclosing type" -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -