Mysql's LIKE is missbehaving with Hebrew and backslashes, why?
- by Itay Moav
I have the following SQL query which returns the correct results:
SELECT *
FROM `tags`
WHERE tag_name = '???\\\"?-???????'
If I change it to
SELECT *
FROM `tags`
WHERE tag_name LIKE '???\\\"?-???????'
or to
SELECT *
FROM `tags`
WHERE tag_name LIKE '???\\\"?-???????%'
It doesn't work. It will work if I remove all the backslashes and " from the query.