6.4 从字符串中删除不需要的字符

需求:删除所有的0和元音字母。

select ename,
replace(
replace(
replace(
replace(
replace(ename,'A',''),'E',''),'I',''),'O',''),'U','') as stripped1,
sal,
replace(sal,0,'') stripped2
from emp;

原文地址:https://www.cnblogs.com/l10n/p/7518766.html