oracle去掉换行符、空格符、回车符

--去除换行
update customertriad t set t.customercname=replace(t.customercname,chr(10),'') where t.customercode='20171117103742877';
--去掉回车
update customertriad t set t.customercname=replace(t.customercname,chr(13),'') where t.customercode='20171117103742877';
--去掉空格
update customertriad t set t.customercname=trim(t.customercname) where t.customercode='20171117103742877';
 

发布了3 篇原创文章 · 获赞 0 · 访问量 5303

猜你喜欢

转载自blog.csdn.net/cjlcc/article/details/84541163
今日推荐