去除空格用trim
去除tab用如下方法
select regexp_replace(secdomainname,'\s+','') from dwb_cndns_node_secdomain_d where ......
亲测可行。