Joshi, you'll have to use DBMS_SQL and return number instead of ref cursor. DBMS_SQL has its own, internal table describing open cursors
by numbers. DBMS_SQL also contains a procedure called "describe" which,
I believe, does exactly what you want without XML or OCI.


On 01/26/2004 01:19:27 AM, A Joshi wrote:
Hi,
I am calling a Oracle stored procedure which has a ref cursor as a
out param. I get the values. Is there a way for me to know the field
names and type of the fields being passed in the ref cursor. Basically
when the procedure sends back the ref cursor what information do I get
apart from the data. Do I get any metadata (field names types etc).
This is basically to write a calling program which I do not have to
change when the ref curor /record changes in the stored procedure.
Thanks in advance.




---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Mladen Gogala
 INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to