Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save trycf/1ad9c9c9c5f8aadbacdf326a21fa9d37 to your computer and use it in GitHub Desktop.

Select an option

Save trycf/1ad9c9c9c5f8aadbacdf326a21fa9d37 to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
qry = queryNew( "col", "varchar", [["brad"]] );
</cfscript>
<cfquery name="result" dbtype="query">
SELECT *
FROM qry
WHERE col = <cfqueryparam value="brad">
</cfquery>
<cfdump var="#result#">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment