quote

description

Syntax

VARCHAR quote(VARCHAR str)

将参数中所有的字符串按原样输出,并用’’套起来

example

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

keywords

  1. QUOTE