Drop UNIQUE key from a column

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
thefarhan
Forum Newbie
Posts: 5
Joined: Tue Dec 22, 2009 7:02 am

Drop UNIQUE key from a column

Post by thefarhan »

how to Drop UNIQUE key from a column? what is the code ?
User avatar
Darhazer
DevNet Resident
Posts: 1011
Joined: Thu May 14, 2009 3:00 pm
Location: HellCity, Bulgaria

Re: Drop UNIQUE key from a column

Post by Darhazer »

Code: Select all

ALTER TABLE tableName DROP INDEX IndexName;
Post Reply