aspose 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


Win a copy of Spring in Action this week in the Spring forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do I print out the associate fields of a ref cursor?