How to generate a database table from an arbitrary ResultSet
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Yucheung_Ho
Posted On:   Tuesday, September 23, 2003 03:01 PM

I would like to take an arbitrary ResultSet and store it as a table in the database, specifically Postgresql. Does anybody know of a tool to do this? thanks.

Re: How to generate a database table from an arbitrary ResultSet

Posted By:   Simon_Ablett  
Posted On:   Wednesday, September 24, 2003 06:56 AM

You would probably need to call 'ResultSet.getMetaData()' and use that to build up a table definition string which could then be executed as an SQL statement. Not sure why you would want to do this though.

Regards.
About | Sitemap | Contact