I doubt you'll see a big performance hit either way. It would probably be mostly up to you and what you find easier to read/follow when looking at your code.
Generally speaking though, most people would expect to have something displayed between <cfoutput> tags and would probably use cfloop in this case. You could just turn on debugging and compare the execution times of both. ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -----Original Message----- From: Charlie Hanlon [mailto:[EMAIL PROTECTED] Sent: Thursday, December 15, 2005 4:20 PM To: CF-Talk Subject: cfloop vs cfoutput query - best practice First, thanks to all who communicate via cf_talk. I have learned alot about my trade from all of the contributors. While its a rare occurance, when I am able to provide insight regarding someone's inquiry, I do so. My question is, if I need to loop thru a query result set and will be not displaying the data, is it better practice/more efficient to use <cfloop query=""> instead of <cfoutput query="">??? thanks in advance charlie hanlon developer food service enablers, inc. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227135 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

