1.查出含有空格或换行符的行

select id from osm_t_arc_contacts x where instr(x.address, chr(10) )> 0 or instr(x.address,chr(13))>0;

2.去掉
update osm_t_arc_contacts set address = replace(address, chr(10),'')
where id= xxxx;

posted on 2017-06-23 14:39  为了八千块  阅读(356)  评论(0编辑  收藏  举报