sql drop unique key code example
Example 1: how to drop a unique constraint in sql
SHOW CREATE TABLE [tableName]
-- Find the constraintID after CONSTRAINT 'constraintID'
ALTER TABLE [tableName] DROP FOREIGN KEY constraintID
Example 2: remove unique key from a table
example: alter table DropIndex drop index BookId ;