Skip to content

Instantly share code, notes, and snippets.

Created September 7, 2015 04:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/d8d85f9b51c04f202613 to your computer and use it in GitHub Desktop.
Save anonymous/d8d85f9b51c04f202613 to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
foo = QueryNew("id");
bar = QueryExecute(
sql="SELECT COUNT(1) AS cnt FROM foo",
options={dbtype="query"}
);
writeDump(bar);
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment