Doctor Luz
November 16th, 2007, 04:37 AM
I have a MySQL Database with a table called "DATA" and I want to add an index to a field called "NAME" which has duplicate entries, because some people in the DB has the same name.
I am trying to do it with MySQLAdmin but I can't because when I try to add the index there is an error message saying that "the index can't be created because there are duplicate entries in the field DATA"
Is impossible to create in MySQL an index if there are duplicate entries?
Thank you.
I am trying to do it with MySQLAdmin but I can't because when I try to add the index there is an error message saying that "the index can't be created because there are duplicate entries in the field DATA"
Is impossible to create in MySQL an index if there are duplicate entries?
Thank you.