Answers for "change unique key in mysql"

SQL
3

mysql remove unique constraint

ALTER TABLE tbl_name DROP INDEX index_name
Posted by: Guest on December-04-2019
0

mysql create unique key via alter table

ALTER TABLE Persons

ADD CONSTRAINT UC_Person UNIQUE (ID,LastName);
Posted by: Guest on May-31-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language