在MySQL中,字符序列\表示一个反斜杠转移单引号',但在DB 2中,单引号必须要再加一个单引号来实现转义' '(即两个单引号)。
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)."
这些区别来自这一事实,即:如果要把单引号包括在结果中,则MessageFormat期望输入两次单引号。
These differences stem from the fact that MessageFormat expects a quote to be entered twice if it is to be included in the result.
在被单引号(即省略号,呼号)环绕的文本字面值里,变量替换不会进行。
Variable substitution is not done in text literals which are surrounded by single quotes (apostrophe s).
即键入列名引用列,用单引号括起文本,等等。
That is, reference columns by typing their names, enclose literal text in single quotation marks, and so on.
串中连续的两个单引号表示一个字符,即单引号。
Two sequential apostrophes in a quoted string denote a single character, namely an apostrophe.
串中连续的两个单引号表示一个字符,即单引号。
Two sequential apostrophes in a quoted string denote a single character, namely an apostrophe.
应用推荐