Quote:
Originally Posted by r937
|
Hi, thanks for the advice!
I just did the following, as you suggested:
SELECT BINARY Name FROM Table X
WHERE Name = 'Viņa Concha y Toro';
and only got 1 correct result and when I tried with the other string I got 1 correct result as well.
This was run against the original table where each column has collation 'latin1_swedish_ci'.
My question now is - do I have to use BINARY word before the name every time I do the query to make sure mysql returns single correct result or is there a way to change character set/collation at the table/column level so that when I just do regular SELECT with an equal sign, it returns the correct result?
Also, it looks like when I use BINARY, case sensitivity is turned on. That is not preferable. I need to be able to do case insensetive search, but be able to differentiate between english and non-english characters.
Is this possible in mysql?
Thank you very much!