On 09/07/10 2:44 PM, Steve Crawford wrote:
Any other suggestions?

... like E'%\\\\%'


and, for extra fun, if that SQL statement is a constant string in a C or similar programming language, you may well need to double up those \'s again so that SQL sees them as the C/C++/etc parser itself does \ escaping.

sql_command = "select MM_PATH_FILE from MULTI_MEDIA Where MM_PATH_FILE NOT ILIKE E'%\\\\\\\\%';"



Seriously, MS Windows programmers really really should use / for paths... the windows API's are all perfectly happy with these. only the command parser insists on \ as a path delimiter.



--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to