Dump a Query
If you don't know the name of the columns, but want to output everything in it, use this snippet.
<cfoutput query="myQuery">
<cfloop list="#myQuery.columnList#" index="aCol">
#aCol#=#evaluate('myQuery.' & aCol)#<br>
</cfloop><br>
</cfoutput> |
|
|