Re: \ has to be encoded as \\\\ in utf8 query in WHERE statement, \\ in UPDATE clause
Posted by: Sébastien Santoro
Date: February 07, 2007 06:09PM

Thank you for the tip :)

If it doesn't solve this problem, it leads me on the way, following manual links from NO_BACKSLASH_ESCAPES !

Actually, in expression a LIKE b, b is a regexp so we've to escape \ a first time for the regular expression, and a second time in our MySQL query.

So, in these case, use = is less a pain, as our path is an exact expression.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: \ has to be encoded as \\\\ in utf8 query in WHERE statement, \\ in UPDATE clause
1756
February 07, 2007 06:09PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.