Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Simple problem...
I have to say thanks to everyone. There's been some interesting solutions
thus far : let's look :
What I was trying to do was avoid throwing an error on the conversion ( assume we're branching in a CASE statement)
Martin's Solution looks like it might be fast... I'll give it a whirl.
Thanks all
"Telemachus" <tollg_at_tendwa.rns.net> wrote in message
news:zgq7a.12194$V6.16646_at_news.indigo.ie...
> But I can't find an easy solution.
>
> For 817 without rolling your own PL/SQL func...
> Is there a fast builtin way to do IS_A_NUMBER('STRING') or is_a_float()
or
> is_an_integer()
>
>
> i.e. given a string return true if the string represents a valid number
or
> false. Or do most people trap an error from TO_NUMBER ?
>
>
> T ...
>
>
Received on Fri Feb 28 2003 - 04:13:07 CST