I have a function that returns five characters with mixed case. If I do a query on this string it will return the value regardless of case.
How can I make MySQL stri
Instead of using the = operator, you may want to use LIKE or LIKE BINARY
// this returns 1 (true) select 'A' like 'a' // this returns 0 (false) select 'A' like binary 'a' select * from user where username like binary 'a'
It will take 'a' and not 'A' in its condition