SQL 手册SQL 函数字符串函数QUOTE本页总览QUOTEquotedescriptionSyntaxVARCHAR quote(VARCHAR str)将参数中所有的字符串按原样输出,并用''套起来examplemysql> select quote('hello world!\\t');+-------------------------+| quote('hello world!\t') |+-------------------------+| 'hello world!\t' |+-------------------------+keywordsQUOTE