Skip to content

Instantly share code, notes, and snippets.

@Macagare
Created July 11, 2013 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Macagare/5975722 to your computer and use it in GitHub Desktop.
Save Macagare/5975722 to your computer and use it in GitHub Desktop.
Coldfusion: call query column
<cfset var qQuery = getQuery( arguments.filter ) />
<cfif qQuery.recordCount >
<cfreturn qQuery[arguments.column][1] />
</cfif>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment