>Is exists() more efficient than this?

Yes. I use it all of the time. Exists() will look for until it finds a record 
and as soon as it finds it, it stops because the criteria is met.  A normal 
Select statement will look at all records and finish once all records have been 
parsed.  It's really more efficient when the possibility of multiple records 
returned is there.

Hope this helps. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341635
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to