For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!
Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.
WITH testdata AS (SELECT 'abcdef' txt FROM DUAL UNION ALL SELECT '1234567' txt FROM DUAL union all SELECT '0' txt FROM DUAL union all SELECT '123a4567x00' txt FROM DUAL union all SELECT '123.4567,00' txt FROM DUAL ) select txt, translate(txt,'a1234567890','a') numbers_removed, translate(txt,'0abcdefghijklonopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ','0') letters_removed from testdata; TXT NUMBERS_REMOVED LETTERS_REMOVED --------------------------------------- abcdef abcdef 1234567 1234567 0 0 123a4567x00 ax 123456700 123.4567,00 ., 123.4567,00