Use TRANSLATE function
(http://otn.oracle.com/docs/products/oracle8i/doc_library/817_doc/server.817/a85397/function.htm#84984)

SELECT TRANSLATE('abc123def432'
,'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'
,'ABCDEFGHIJKLMNOPQRSTUVWXYZ')  FROM DUAL;

JP

On Monday 01 July 2002 13:18, you wrote:
> Is there any way to remove all numbers from a string?
>
> The string might look like this: 'abc123def432'
> and I wan't it to look like this: 'abcdef'.
>
> I'm using Oracle 8.
>
>
> Thanks in advance!

-- 
         Pruner Jan
       [EMAIL PROTECTED]
     http://jan.pruner.cz/
-----------------------------
Only Robinson Crusoe had all his work done by Friday
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Jan Pruner
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to