That doesn't work because getArmes contains only a count of the records in
armesArmoriaux, not the actual records.

-----Original Message-----
From: Al Musella, DPM [mailto:[email protected]] 
Sent: Sunday, March 08, 2009 7:37 PM
To: cf-talk
Subject: Re: What the heck is happening during CFQUERY?



Change it to this and the time should go down by a factor of about 100,000
:

><CFQUERY NAME="getArmes" DATASOURCE="Armoriaux">
>   SELECT count (*) as N
>   FROM armesArmoriaux
></CFQUERY>
><CFOUTPUT>getArmes.recordCount = #getArmes.n#<BR> cfquery.ExecutionTime 
>= #cfquery.ExecutionTime#<BR></CFOUTPUT><CFABORT>






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320258
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to