isnumeric function from mysql to oracle

isnumeric : is predefined function in mysql to check if the value data type is number.

but what if you need to check the value is number in oracle Use :

LENGTH(TRIM(TRANSLATE(, ‘ +-.0123456789’, ‘ ‘))) is null

Simple

Osama mustafa

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.