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

Home -> Community -> Usenet -> c.d.o.misc -> Re: select only numeric values from varchar2 column

Re: select only numeric values from varchar2 column

From: Chris Nelson <ChrisNelson_at_eaton.com>
Date: Wed, 21 Jul 1999 15:07:40 -0400
Message-ID: <37961A7B.C9FF682C@eaton.com>


Hi, Bruno

This seems to work as long as the non-numeric characters are letters (not puctuation or other non-alpha characters):

...
WHERE UPPER( col1) = LOWER( col1)
...

At least, it seemed to work with some combination alpha, numeric, and alpha-numeric data that I have to work with. No user-defined functions to mess with, either.

Chris

Bruno Decraene wrote:

> I have a table toto with varchar column col1
>
> col1 contains alphanumeric values and numeric values and i want to
> select only the numeric values
>
> How can i do this
>
> Thank you
>
> ansewer to me to rchennaa_at_atos-group.com
>
> Rach
Received on Wed Jul 21 1999 - 14:07:40 CDT

Original text of this message

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