第一步:查找mysql的字符: mysql> show variables like '%char%';+--------------------------+----------------------------------+| Variable_name | Value |+--------------------------+----------------------------------+| charact
mysql 去除特殊字符 update table set field = replace(replace(replace(field,char(9),''),char(10),''),char(13),''); mysql 去除前后空白字符 update table set field = TRIM(field); 将table 和 field 换成自己的表和字段即可