I tested this using CF 4.01 using a 9000+ record Access database. 
Using Query.RecordCount was actually about 10-20% faster.

Kevin

>>> [EMAIL PROTECTED] 09/06/00 09:16AM >>>
If you do a select * and then do a record count you have to perform 2
operations.  Select count(*) is only one so I think you are right -
count(*)
will be faster but it'll be negligible unless you have a huge amount
of
records

------------------------------------------------------------------
Andrew Ewings
Project Manager
Thoughtbubble Ltd
------------------------------------------------------------------


-----Original Message-----
From: Bud [mailto:[EMAIL PROTECTED]] 
Sent: 06 September 2000 17:12
To: [EMAIL PROTECTED] 
Subject: count() or recordcount


Which is faster? I'm presuming count() or what else would it be good
for?
-- 

Bud Schneehagen - Tropical Web Creations

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED] 
http://www.twcreations.com/ 
954.721.3452
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/ 
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
or
send a message to [EMAIL PROTECTED] with 'unsubscribe'
in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/ 
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to