Sunday, August 12, 2012

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

No comments:

Post a Comment