mjfigur
asked on
Oracle Function to find where TO_NUMBER fails
I am trying to convert a column that is currently a VARCHAR2 into a number using TO_NUMBER, however of the 16,000+ rows there are just one or two that are not numbers and therefore causing the conversion to fail. I am new to functions. How could I write one or possible if Oracle already has one that could flag these individual accounts as 'Not Number'? Hope I explained it fully.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Select col_val from table where isgood(col_val)=1;