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.ktcbnqb.cn/contact/20151229/n7556.html