Re: Replace command & backslash
Posted by: Rick James
Date: November 17, 2014 12:10AM

Backslash usually needs to be escaped:

Not '\', but rather '\\'


mysql> SELECT '\\', '1\\2\\3', '\\\\';
+---+-------+----+
| \ | 1\2\3 | \\ |
+---+-------+----+
| \ | 1\2\3 | \\ |
+---+-------+----+
1 row in set (0.00 sec)

Options: ReplyQuote


Subject
Views
Written By
Posted
4077
November 16, 2014 03:03AM
Re: Replace command & backslash
1433
November 17, 2014 12:10AM


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.