As far as I know there is no built-in function, but you may create your own. If you need to check whether your substring contains only digits the easiest way is to check for ltrim(your_string, '1234567890'), it should be null if your string is number.
If you need to now whether your string is valid number you may
create function IsNumber(pString in varchar2)
return boolean
as
dummy number;
begin
dummy := to_number(pString);
return true;
exception
when value_error then return false;
end;
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.