snippet – cfquery.executionTime

Got long running queries?
<cfquery name="myquery" datasource="ds">
select whatever
</cfquery>
<cfoutput>Exection time: #cfquery.executionTime# msecs</cfoutput>

Note: the syntax is cfquery.executionTime not queryname.executionTime

Cup size   
Select size then click on coffee cup.
This entry was posted in Code, Coldfusion, Snippets. Bookmark the permalink.