August 2003
Intermediate to advanced
1140 pages
68h 45m
English
QueryNew
QueryNew(columnlist)Creates an empty ColdFusion query object with column names as
specified by columnlist.
columnlist can be a comma-delimited list
of column names or a blank string ("") so you can
use the QueryAddColumn( ) function to populate the
rows with the contents of a one-dimensional array. The following
example creates a query called Products with four
column names:
<cfset Products = QueryNew("ProductName, Color, Price, Qty")>
<cfdump var="#Products#">