how to access an Oracle procedure's OUT parameter when calling it?
问题 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 回答1: You can create a procedure like CREATE OR REPLACE PROCEDURE your_procedure(out