Can anyone tell me if there is a performance difference in the
following 2 bits of code? I know back in 4.5 cfloop was worse than
cfoutput but now? Any web references to tests on these things welcome!

Thanks.
Duncan

// using cfloop for the query output //
<cfquery name="getProducts">
     select * from Products
     order by Family
</cfquery>

<cfoutput>
<cfloop query="getProducts">
     <A HREF="#getProducts.URL#"
target="_blank"><b>#getProducts.ProductName#</b></a>
</cfloop>
</cfoutput>

//  using cfoutput for the quey output //

<cfquery name="getProducts">
     select * from Products
     order by Family
</cfquery>

<cfoutput query="getProducts">
     <A HREF="#URL#" target="_blank"><b>#ProductName#</b></a>
</cfoutput>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195618
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to