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

解决方案 »

  1.   

    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.