>> Using a count makes that query completely useless. It >> can't be reused, >>nor does it return anything of relevance. Which means its >>sole purpose > is >to bring back a single number...
> What?! A dba will laugh his or her ass off if he/she > heard this. > Select count(*) from table versus select * from table > makes a big > difference when you have thousands of records, if all you > need is a > record count. I rather expected that he does a lot of in-memory caching of data... and/or cachedwithin queries... which... if that's the case, then yes, in that case, "select * from table" is probably _MUCH_ more mechanically efficient than repeated queries for "select count(*) from table". s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:216842 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

