Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Numeric Function

Re: Numeric Function

From: Connor McDonald <connor_mcdonald_at_yahoo.com>
Date: Wed, 07 Nov 2001 21:04:18 +0000
Message-ID: <3BE9A1D2.452C@yahoo.com>


NeedaHoliday wrote:
>
> Is there a function or method to search a string character and find
> only numeric values?
>
> Thanks

where
  replace(
    translate(col,'0123456789','9999999999')

         '9',null) is null

or thereabouts

hth
connor

-- 
==============================
Connor McDonald

http://www.oracledba.co.uk

"Some days you're the pigeon, some days you're the statue..."
Received on Wed Nov 07 2001 - 15:04:18 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US