Name
QueryNew
Synopsis
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 ("
"
). The following example creates a query called
Products
with four column names:
<CFSET Products = QueryNew("ProductName, Color, Price, Qty")>
Get Programming ColdFusion now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.