跳到主要内容

QUOTE

Quotes a string to produce a result that can be used as a properly escaped data value in an SQL statement.

Syntax

QUOTE(<str>)

Examples

SELECT QUOTE('Don\'t!');
+-----------------+
| QUOTE('Don't!') |
+-----------------+
| Don\'t! |
+-----------------+

SELECT QUOTE(NULL);
+-------------+
| QUOTE(NULL) |
+-------------+
| NULL |
+-------------+
开始使用 Databend Cloud
低成本
快速分析
多种数据源
弹性扩展
注册