+ -
当前位置:首页 → 问答吧 → mysql中可以使用转义字符'\001'吗?

mysql中可以使用转义字符'\001'吗?

时间:2011-11-25

来源:互联网

转义字符'\001'表示ctrl+a,不知道能不能在mysql的select中使用,网上查到的资料中,'\t','\n'等等可以,但是没有提到ctrl+a,我自己测试发现,使用'\001'总是先解析'\0','\0'表示NUL,后面的01就会自动添加到字段上,不知道有没有大牛们遇到过这个问题,请指点,谢谢

作者: nannanqiaoshuai   发布时间: 2011-11-25

MYSQL没有。

\0 An ASCII NUL (0x00) character. 
\' A single quote (“'”) character. 
\" A double quote (“"”) character. 
\b A backspace character. 
\n A newline (linefeed) character. 
\r A carriage return character. 
\t A tab character. 
\Z ASCII 26 (Control-Z). See note following the table. 
\\ A backslash (“\”) character. 
\% A “%” character. See note following the table. 
\_ A “_” character. See note following the table. 

作者: ACMAIN_CHM   发布时间: 2011-11-25