MySQL 去除换行和回车符 29 8月 2014, 12:24 下午 UPDATE tablename SET field = REPLACE(REPLACE(field, CHAR(10), ''), CHAR(13), ''); char(10): 换行符char(13): 回车符 参考:http://www.gowhich.com/blog/446