oralce去除空格

 

 

--需要注意:  空格 不用手打空格,而是把空格复制粘贴出来,否则不管用
select replace(UPDATE_VALUE,' ','') from wpm_check_order_list where solu_Id='HA-20230217-9961' and ne_name='460-00-5243128'

 

--做参考

select trim(UPDATE_VALUE) from wpm_check_order_list where solu_Id='HA-20230217-9961' and ne_name='460-00-5243128'

select nvl(UPDATE_VALUE,'') from wpm_check_order_list where solu_Id='HA-20230217-9961' and ne_name='460-00-5243128'

posted @ 2023-02-20 17:33  不会游泳的鱼丶  阅读(19)  评论(0编辑  收藏  举报