replace和translate的用法

Posted 学无止境,前进

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了replace和translate的用法相关的知识,希望对你有一定的参考价值。

select replace (‘111222333444‘,‘222‘,‘888‘) from dual;
with tmp as(
select ‘aabb/123\:cde工人‘ s from dual union all
select ‘c*o"中国人刀k<j>aa|‘ from dual)
select s,translate(s,‘$/\:*?"<>|‘,‘$‘)from tmp;

以上是关于replace和translate的用法的主要内容,如果未能解决你的问题,请参考以下文章