As long as the tables are properly indexed, I wouldn't expect that you'll have a problem with the speed of the query. Returning 7 columns from one table and 7 from another shouldn't be a big difference, assuming the amount of data you are returning is the same.
Of course, if one table is returning 10 records and the other is returning 1,000 records I might expect the second to be slower (if not in the query, then the data transfer). At 09:53 AM 4/22/2005, you wrote: >Hi, > >Does the number of columns in a table effect the performance? For >example, I want to select 7 fields and 100 rows of a 7 column table with >millions of rows. Will that be faster than if I select 7 fields and 100 >rows of an 82 column table with millions of rows? So 7 vs. 82 >columns. All other factors remain the same. I am using MS SQL Server >2000. I would think it is faster. What do you think? If it is indeed >faster, how much faster are we talking about here? double or tripple the speed? > >Johnny -- Jeffry Houser, Web Developer, Writer, Songwriter, Recording Engineer AIM: Reboog711 | Phone: 1-203-379-0773 -- My Books: <http://www.instantcoldfusion.com> My Recording Studio: <http://www.fcfstudios.com> Connecticut Macromedia User Group: <http://www.ctmug.com> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:6:2236 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/6 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:6 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.6 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
