how to drop a unique constraint in sql
snippet in sql

how to drop a unique constraint in sql

user1425

SHOW CREATE TABLE [tableName]
-- Find the constraintID after CONSTRAINT 'constraintID'
ALTER TABLE [tableName] DROP FOREIGN KEY constraintID