Dawson, Michael wrote: > > I was with the understanding that a RDBMS would create temporary/working > tables that join with records pulled from physical tables and, > eventually, remove records as needed. Then, the sort operation happens. > If that is true, then there would be very few records in the > temporary/working table and an index would not be beneficial.
Look at the execution plan of the query, it will tell you which steps are taken in which order. Jochem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186895 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

