how about this?
1* select decode(translate('A123456'
D
-
N
1* select decode(translate('123456',
D
-
Y
Main Topics
Browse All Topicsis there a function in oracle which serves the same functionality as isnumber() in vb6 i.e to find out whether passed parameter is umber or not
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Hi All
You dont even write a select statement... so a cutdown version is...
create or replace function fun_number(in_var in varchar2)
return number
is
v_number number;
begin
begin
v_number := in_var;
v_number := 0; ---- Number...
exception
when value_error then
v_number := 1; --- Not a number..
end;
return( v_number );
end;
/
Similar question available in ...
http://www.experts-exchang
catchmeifuwant gave you this idea first, so deserves point.
Mine is just an enhanced version...
Business Accounts
Answer for Membership
by: catchmeifuwantPosted on 2004-03-11 at 03:36:55ID: 10570162
No there's no in-built function.You can use a function & to_number() to check this.
Function Code
----------------
create or replace function fun_number(in_var in varchar2)
return number
is
v_number number;
begin
select to_number(in_var)
into v_number
from dual;
return 0; ---- Number...
exception
when others then
return 1; --- Not a number..
end;
/
------------------------
Output
======
SQL> select fun_number('1234') from dual;
FUN_NUMBER('1234')
------------------
0
SQL> select fun_number('12s34') from dual;
FUN_NUMBER('12S34')
-------------------
1
SQL>
--
HTH