Skip to content

Instantly share code, notes, and snippets.

Created October 3, 2017 22:55
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 anonymous/1af95a63fc017ccb4f7efaaaa79594ea to your computer and use it in GitHub Desktop.
Save anonymous/1af95a63fc017ccb4f7efaaaa79594ea to your computer and use it in GitHub Desktop.
TryCF Gist
<cfset q=queryNew('object_id,lang_id')>
<cfset QueryAddRow(q)>
<cfset QuerySetCell(q,'object_id',5)>
<cfquery dbtype="query" name="res">
select * from q
where object_id=<cfqueryparam cfsqltype="CF_SQL_INTEGER" value="">
</cfquery>
<cfdump var="#res#">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment