tags:

views:

33

answers:

1

Hello,

I have a field in my db called "user" which is unique.

I would like to remove the "unique" option so I can have couple of users with the same nickname.

Which sql statement should I execute to perform this action ?

Thanks

+2  A: 
DROP INDEX name_of_your_unique_index;

UNIQUE is an index, so just drop it.

Frank Heikens