You are here: Re: Unwanted Sort « MsSQL Server « IT news, forums, messages
Re: Unwanted Sort

Posted by Doug on 03/22/06 20:25

the first thing the engine will do is grab all the valid id1's from
tableb, adn stuff them into a "temp table."

Then, because Table A has an index on ID1, it makes sense to sort that
temp table so you can go through TableA efficiently.

A question. Do you have a clustered index on TableA? Try getting rid
of the clustered index, and just having a non-clustered index.

regards,
doug

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация