Silahkan Melihat Tutorial di website kami dengan nyaman ENJOY YOUR LIFE ☕

how to remove index and unique constraint in mysql

Hello

here Example of remove how to remove index and unique constraint in mysql

first check table how many constraint  in table after you can remove.

here the query for show index in table

SHOW INDEX FROM Your-table-Name

after remove all index name display in column

here the query

ALTER TABLE Your-table-Name DROP INDEX Your-field-unique-constraint -name;

Please check this 




0 komentar:

Post a Comment

how to remove index and unique constraint in mysql