Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: determine cursor parameter name of a stored procedure

Re: determine cursor parameter name of a stored procedure

From: Philipp Sumi <nospam_at_123123123.xxx>
Date: Sun, 21 Mar 2004 11:37:49 +0100
Message-ID: <c3jr9q$le7$1@newshispeed.ch>


Hello Mark

> you may be able to use the info in the all_arguments data dictionary view

Thank you very much, this was indeed what I was looking for :-D

I can determine the cursor parameter with the following query:

   SELECT ARGUMENT_NAME FROM ALL_ARGUMENTS

     WHERE
       OBJECT_NAME = {0} AND
       DATA_TYPE = 'REF CURSOR'


...where the placeholder {0} is being replaced with the name of the inspected stored procedure.

Still, a few questions remain:

Thanks again

Philipp Received on Sun Mar 21 2004 - 04:37:49 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US