SQL
1 update bd_prod_cate c set c.cate_name = replace(c.cate_name,chr(9),'')//去掉tab符号的 2 update bd_prod_cate c set c.cate_name = replace(c.cate_name,chr(10),'')//去掉回车符号的 3 update bd_prod_cate c set c.cate_name = trim(c.cate_name)//去掉空格符号的
1 update bd_prod_cate c set c.cate_name = replace(c.cate_name,chr(9),'')//去掉tab符号的 2 update bd_prod_cate c set c.cate_name = replace(c.cate_name,chr(10),'')//去掉回车符号的 3 update bd_prod_cate c set c.cate_name = trim(c.cate_name)//去掉空格符号的