Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: number only
Hint: If you are using the ASCII character set then numeric digits are "<"
than alphabetic characters.
HTH -- Mark D Powell --
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Oracle
Sent: Wednesday, June 30, 2004 9:35 AM
To: oracle-l_at_freelists.org
Subject: number only
I have a column with data such as :
abc123
123
abcde
I want to write a query which returns only numbers from the column , if
there are none, then default to 999
So i would have:
123
123
999
Any ideas on the syntax?
Thanks
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.htmlput 'unsubscribe' in the subject line.
-----------------------------------------------------------------
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request_at_freelists.org
![]() |
![]() |