TDengine企业版
来源:涛思数据
浏览 204
扫码
分享
2023-01-14 19:24:33
Escape Characters
Escape Characters
Escape Character | Actual Meaning |
---|
\’ | Single quote ‘ |
\” | Double quote “ |
\n | Line Break |
\r | Carriage Return |
\t | tab |
\ | Back Slash \ |
\% | % see below for details |
_ | _ see below for details |
Restrictions
- If there are escape characters in identifiers (database name, table name, column name)
- Identifier without ``: Error will be returned because identifier must be constituted of digits, ASCII characters or underscore and can’t be started with digits
- Identifier quoted with ``: Original content is kept, no escaping
- If there are escape characters in values
- The escape characters will be escaped as the above table. If the escape character doesn’t match any supported one, the escape character “\“ will be ignored.
- “%” and “_“ are used as wildcards in
like
. \%
and \_
should be used to represent literal “%” and “_“ in like
,. If \%
and \_
are used out of like
context, the evaluation result is “\%
“and “\_
“, instead of “%” and “_“.
当前内容版权归
涛思数据 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问
涛思数据 .