Hi,
I have a input string . I need only the number from this field using REPLACE or TRANSLATE or any function in the SELECT statement.
eg,
the input string is :
' 1 :: 2 3 Adfre 34 * & )( -= bd '
It should return only the numeric field
12334
I tried with
SELECT TRANSLATE(string,TRANSLATE(string,'0123456789',' '),'') from dual;
-- But it's not working properly.
Any help plz .......
I have a input string . I need only the number from this field using REPLACE or TRANSLATE or any function in the SELECT statement.
eg,
the input string is :
' 1 :: 2 3 Adfre 34 * & )( -= bd '
It should return only the numeric field
12334
I tried with
SELECT TRANSLATE(string,TRANSLATE(string,'0123456789',' '),'') from dual;
-- But it's not working properly.
Any help plz .......