Skip to main content
VeloDB Cloud 4.x·Apache Doris 3.x·"Since X.Y" tags refer to Doris versionsversion mapping →

QUOTE

quote

description

Syntax

VARCHAR quote(VARCHAR str)

Output all the strings in the argument as is and wrap them with ''

example

mysql> select quote('hello world!\\t');
+-------------------------+
| quote('hello world!\t') |
+-------------------------+
| 'hello world!\t' |
+-------------------------+

keywords

QUOTE