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 -> Checking for numerics

Checking for numerics

From: The Hudsons <goosedog_at_corecomm.net>
Date: Sun, 5 Mar 2000 01:51:57 -0500
Message-ID: <Mwnw4.230$BZ3.10971@news.corecomm.net>


Hi,

I have a PL/SQL program that needs to read a varchar field (which is = supposed to contain a dollar amount), do a to_number on the value, and = then do several calculations with the field. My problem is I've = discovered that there are some non-numeric characters in my column. = There are some records that are completely alpha, and there are some not = quite as offensive records that have the numbers prefixed w/ a dollar = sign ($). My question is, how can I check (prior to doing my to_number) = whether or not the field contains any non-numeric characters. Thanks in = advance.

Kelly Received on Sun Mar 05 2000 - 00:51:57 CST

Original text of this message

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