Skip to main content
Skip to main content

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