This means, inside single quoted strings, the single quote character has to be escaped, and inside double quoted strings, the double quote character has to be escaped.
这意味着,在单引号字符串,单引号字符必须逃,在双引号字符串,双引号字符必须逃跑。
The character sequence \ represents a backslash escaped single quote 'in MySQL, but in DB2, a single quote must be escaped by adding another single quote "(double single quotes)."
在MySQL中,字符序列\表示一个反斜杠转移单引号',但在DB 2中,单引号必须要再加一个单引号来实现转义' '(即两个单引号)。
A backslash can escape a double quote, or any single whitespace character.
后斜杠可以对双引号或任一空白字符进行转义。
If the value contains both a semicolon and a double-quote character, the value can be enclosed in single quotes.
如果该值同时包含分号和双引号字符,则该值可以用单引号括起来。
If the value contains both single-quote and double-quote characters, the quote character used to enclose the value must be doubled each time it occurs within the value.
如果该值同时包含单引号和双引号字符,则用于将值括起来的引号字符每次出现时,都必须成对出现。
If the value contains both single-quote and double-quote characters, the quote character used to enclose the value must be doubled each time it occurs within the value.
如果该值同时包含单引号和双引号字符,则用于将值括起来的引号字符每次出现时,都必须成对出现。
应用推荐