I was perplexed by the lack of some kind of "is numeric" test in Oracle's dialect of SQL. I scrounged around forums and found something that I thought would work, but my colleague finally put me straight and we used this condition:
REGEXP_LIKE(char_column, '^[[:digit:]]+$')
No comments:
Post a Comment