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 Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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.