If I write a simple function doSomething
, I can get its result by executing :
select doSomething() from dual;
But, if I wish to call a procedure that has an OUT
cursor being passed to it (along with another int parameter), how do I call that procedure inside a query and access the result of the cursor ?
Calling it inside a query is not compulsory.. its just that I want to access the results of that procedure