Answers for "how to drop a unique constraint in sql"

SQL
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
Posted by: Guest on October-29-2020
0

drop unique key constraint in sql server

/* To Drop Unique Key Constraint*/
ALTER TABLE Table_Name
DROP CONSTRAINT Constraint_Name
Posted by: Guest on June-11-2021

Code answers related to "how to drop a unique constraint in sql"

Code answers related to "SQL"

Browse Popular Code Answers by Language