Tom Lane wrote:

Wei Weng <[EMAIL PROTECTED]> writes:

But if I choose to use string comparison, instead of 4 escape characters, I only need 2.


Why is that?


Backslash is an escape character for LIKE.

                        regards, tom lane



What about in regular strings? I do need to use backslash to escape the other backslash in order to get the '\'. Why isn't that the case in LIKE operation?


Thanks

Wei


---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Reply via email to