On Monday 01 July 2002 14:09, Nils H�glund wrote:
> > You may have to
> > use an intermediate stage, first replacing all numbers by say '#', then
> > replacing '#' by ''.
>
> This is something I would like to avoid, since my string-fields may contain
> any characters.
>
> Any ideas?

SELECT TRANSLATE('abc123def432'
,'A0123456789','A') "replaced" FROM DUAL;

JP

--
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