Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Building a CSV file from unknown column names

Status
Not open for further replies.

iSeriesCodePoet

Programmer
Jan 11, 2001
1,373
US
I need to create CSV files from multiple database tables. How can I get the column names from the database and how many columns there are?

Mike Wills
AS400 Programmer
 
from your resultset call getMetaData. from this you can ge the column names, type etc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top