Backslash

Backslash Deutsche bank logotyp

Citat

Because MySQL uses C escape syntax in strings (for example, “ ” to represent a newline character), you must double any “” that you use in LIKE strings. For example, to search for “ ”, specify it as “\n”. To search for “”, specify it as “\\”; this is because the backslashes are stripped once by the parser and again when the pattern match is made, leaving a single backslash to be matched against.

Unicode

\u005c

SQL

SELECT * FROM `titles` where title LIKE 'test\\' ESCAPE '|'

Liknande

  • Slash

Externa länkar

Slash från Guns n roses