Answers for "sql remove unique"

SQL
1

how to remove unique key in mysql

ALTER TABLE mytable DROP INDEX key_Name;
Posted by: Guest on June-13-2020
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
1

mysql drop key

ALTER TABLE tbl_quiz_attempt_master
  DROP INDEX `PRIMARY`;
Posted by: Guest on May-27-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language