# ColdFusion
# Using QueryNew to hardcode a Query object
Here's how to do it.
<cfscript>
q=queryNew("foo,bar", "", [{foo="foo"},{bar="bar"},{foo="foo1",bar="bar1"}])
writedump(q)
</cfscript>
# Set the value of a variable
Since there is a script syntax and a tag syntax, there are two ways.
<cfset variable_name = "value">
... or ...
<cfscript>
variable_name = "value";
</cfscript>