mysql 去除特殊字符
update table set field = replace(replace(replace(field,char(9),''),char(10),''),char(13),'');
mysql 去除前后空白字符
update table set field = TRIM(field);
将table 和 field 换成自己的表和字段即可
mysql 去除特殊字符
update table set field = replace(replace(replace(field,char(9),''),char(10),''),char(13),'');
mysql 去除前后空白字符
update table set field = TRIM(field);
将table 和 field 换成自己的表和字段即可