Is there a way you select only the colunm headers of a database eg MS SQL server 2000
Column header ? Column names you mean ? And of a table, not of a database.
You can retrieve the column names using Columnlist in Coldfusion
<CFQUERY NAME="query_name"..>
SELECT * FROM Table
</CFQUERY>
query_name.columnlist (A comma-delimited list of the query columns)
Or
SELECT column_name FROM information_schema.columns
WHERE Table_Name='Your table name'
Regards
umuayo - 31 Mar 2006 20:00 GMT
Thanks, I meant to ask if I could use the colunm headers to populate a select Dropdown since it will come a comma delimited.
Do I need to strip the comma.
umuayo - 31 Mar 2006 20:28 GMT
Never Mind I got it working.