If you
are using strongly typed ref cursors, I believe you can use the DBMS_DESCRIBE
package to get that information. You'll just have to parse the output from the
package.
Kevin
-----Original Message-----
From: A Joshi [mailto:[EMAIL PROTECTED]
Sent: Monday, January 26, 2004 1:19 AM
To: Multiple recipients of list ORACLE-L
Subject: ** field names of a ref cursorHi,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!