Skip to content

Instantly share code, notes, and snippets.

Created October 2, 2017 05:34
Show Gist options
  • Save anonymous/452fadeea5511a4065e20b80d4991153 to your computer and use it in GitHub Desktop.
Save anonymous/452fadeea5511a4065e20b80d4991153 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