Answers for "sql drop unique key"

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

remove unique key from a table

example: alter table DropIndex drop index BookId ;
Posted by: Guest on November-04-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language