去除字符串中特殊字符

 update 表名 set 列 = replace(列,chr(9),'');    //去掉tab符号的

update 表名 set 列 = replace(列,chr(10),'');  //去掉回车符号的

update 表名 set 列 = trim(列);      //去掉空格符号的

猜你喜欢

转载自grshuang.iteye.com/blog/2316412
今日推荐