File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes How do I print out the associate fields of a ref cursor? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Bookmark "How do I print out the associate fields of a ref cursor?" Watch "How do I print out the associate fields of a ref cursor?" New topic
Author

How do I print out the associate fields of a ref cursor?

noodle hamilton
Greenhorn

Joined: Jun 08, 2007
Posts: 6
Hi My question is really more for those SQL Plus DB gurus..
my code in JDBC is following


It returns a RefCursor in Oracle...How do I go to SQLPlus and print out each the field??
like

That would not work, would it? g_out is a cursor, and I want to print out and inspect the field name....

Can somebody shine some light on this for me?

MANY THANKS in ADVANCE
 
GeeCON Prague 2014
 
subject: How do I print out the associate fields of a ref cursor?