add constraint unique 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: set column as unique in sql server
ALTER TABLE Persons
ADD UNIQUE (ID);