mysql数据去掉回车符换行符
作者:佚名 时间:2012-05-03
例子:
1 去掉回车+换行
update test set logiccontent=replace(logiccontent, char(13)+char(10), '');
2去掉回车
update test set logiccontent=replace(logiccontent, char(13), '');
3去掉换行
update test set logiccontent=replace(logiccontent, char(10), '');
如没特殊注明,文章均为上海联楷网络原创,转载请注明来自:http://www.linksj.com/contact/20151229/n7556.html