Multiplication Funtion In ORACLE [message #326540] |
Wed, 11 June 2008 23:19  |
subhadip.chanda
Messages: 64 Registered: May 2007
|
Member |
|
|
Hi,
I have a table structure like :-
Create table test(A varchar2(50),B NUMBER);
The data in that table is like that:-
A B
----------------------
2*3
2*4*5
4*5
column B contain no data.
I want to create a function which can be used in a select query,and the output should come like that :-
A B
----------------------
2*3 6
2*4*5 40
4*5 20
Means column B contains the resultant value of column A.
And the above output should come through a select statement.You can use any function inside the select statement.
How do I proceed?Please give some idea.
Regards,
Subhadip
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|