Extract integer values form a column
726285Oct 6 2009 — edited Oct 7 2009Hello Experts,
I have an issue over here. I am amateur to databases. I want to create a function in oracle and use it in SQL to extract data.
For ex -
suppose I have a column 'x',
x
----
bvhsfh834346vejfbv
vvfh***123hdvb367--
fbvjkv 786jjdk-90*-++
---------------
I want a function to be used in the SQL while retrieving column 'X' should provide me the following output -
x
----
834346
123367
78690
For the same problem, what I do is, I have a VB Script in excel. Once I query the data, I export it to an excel file and run the program to get the above output.
But now I want to have a function in the db, that takes care of this problem while writing the query itself.