Tag Archives: recordCount

Determining the number of results from a database query in ColdFusion

In a previous example, “Querying a database in ColdFusion using the CFQUERY tag”, we saw how you could query a database in ColdFusion 9 using the <CFQUERY> tag.

The following example shows how you can get the number of records returned by a database query in ColdFusion by using the recordCount property on the query object.

Continue reading Determining the number of results from a database query in ColdFusion