| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: Is Number function?
Zeyad S wrote:
> Guys,
> Is there any way in Oracle to check if the value that is entered into a
> character variable is number or not? I have checked Oracle manual and
> seems there is no builtin function to do that.
> Thanks
You didn't look very hard.
Just put TO_NUMBER() into a PL/SQL block and trap the exception if it fails.
Daniel A. Morgan Received on Fri Apr 27 2001 - 01:23:11 CDT
![]() |
![]() |