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!

Retrieve column names from database

Status
Not open for further replies.

threedim

Technical User
Mar 18, 2002
22
MY
I plan to write a web form which accepts SQL statements and processes it and then displays the table corresponding to the SQL.

Problem is the only way I know how to output data from a row is like this:

objRecord("COLUMN_NAME")

Is it possible to retrieve all the column names from a table without knowing what the column names are?

 
Yes You can read the column names from the recordset.

Regards,
Srinu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top