mysql - Making a sql column UNIQUE -
this question has answer here:
- mysql - make existing field unique 7 answers
is there anyway make column in mysql unique out removing , adding again ? know how add need remove first want edit current column , make unique
i
alter table users add unique (username) but tells me column username ready there . when want edit , not add it...
- could unique index there?
- could there duplicates in column?
check mysql - make field unique might fix problem.
Comments
Post a Comment