MySQL operator like do not find records. Equal operator do -



MySQL operator like do not find records. Equal operator do -

i have mysql query weird behavior.

select * user email 'john@doe.com'

do not homecoming line

select * user email = 'john@doe.com'

returns 1 line

i have solved problem replacing = (equal) operator, since in mysql it's case insensitive... know why mysql have unusual behavior in specific case (most cases works expected).

mysql sql-like

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -