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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Looping through Query without field names 1

Status
Not open for further replies.

JohnandSwifty

Technical User
May 31, 2005
192
GB
Hi,

I would like to configure an export routine that will work regardless of fieldname changes in the DB table etc. So i want to query DB with a SELECT * (because i dont know what the fields are, and i want them all). I then want to loop through and output the resulting query (not using cfdump). I would also like to be able to put the field name at the top of the columns - anyone know how to get the field name?

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top