mysql 去除空格

update nm_user set nickname=TRIM(Replace(Replace(Replace(nickname,'\t',''),'\n',''),'\r',''))

posted @ 2015-09-18 19:22  薛定谔的猫_  阅读(1348)  评论(0编辑  收藏  举报