>>I respectfully disagree with this approach. Doing it in the db will 
be much
faster.

Not so sure:
If the query has to be ordered by the name, it could use an internal index.
If it has to be sorted by some artificial column, there is no index and 
the query could be much longer.

So IMO this approach may be the best, especially if the two exceptions 
have to be added at the end of the query.

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

Reply via email to