quote

description

Syntax

VARCHAR quote(VARCHAR str)

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

example

  1. mysql> select quote('hello world!\\t');
  2. +-------------------------+
  3. | quote('hello world!\t') |
  4. +-------------------------+
  5. | 'hello world!\t' |
  6. +-------------------------+

keywords

  1. QUOTE