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


Osama mustafa

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

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