The problem is that in LIKE
, you've to double escape the backslashes. So following query will work
SELECT
description
FROM
myTable
WHERE
description
LIKE
'%d\\\\\'un article%'
in '%d\\\\\'un article%'
, first \\\\
is double escaping of \
, and \'
is escaping of '
related SO question:
Why I need to double-escape (use 4 \) to find a backslash ( \ ) in pure SQL?