Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

IS_NUMBER function?

493358Mar 15 2006 — edited Jan 16 2009
I wrote a very primitive function to check if the contents of a VARCHAR field is Numeric. The function simply checks if every character in the field is between 0 - 9.

I feel like this is a very inefficient way to check for numeric/non-numeric data.

Is there a better way to do it?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 13 2009
Added on Mar 15 2006
14 comments
188,637 views