I have just received an SQL insert script, but it fails on a duplicate key entry:
I am trying to insert :
1)Montaña
2)Montana
My tables are all utf8_spanish2_ci,
can anybody explain why this is happening ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The
utf8_spanish2_cicollation is indeed not only case insensitive, but also partly accent insensitive, so(as Joni Salonen points out, this is incorrect!) butñ=n.á=a.There is, as far as I know, no collation that does not come with this “feature” exceptutf8_bin.What you can do: