Analysing Indexes - count *

Posted by GrumpyOldDBA on SQL Blogcasts See other posts from SQL Blogcasts or by GrumpyOldDBA
Published on Wed, 02 Jun 2010 14:51:00 GMT Indexed on 2010/06/02 15:26 UTC
Read the original article Hit count: 266

Filed under:
In my presentations on indexing I have always said that you should explore the advantages of covering your clustered index with a secondary index. In circumstances where you might want to just return values form the PK ( assuming it's your clustered index ) a secondary index will be more efficient especially when the row size is wide. Any operation on a clustered index will always return the entire row, so select ID from dbo.mytable where ID is the clustered PK integer will return not just the...(read more)

© SQL Blogcasts or respective owner

Related posts about indexes