I have seen this a number of times, when I run some analysis in SQL Server DataBase Engine Tuning Advisor it suggest me to create indexes like:
CREATE NONCLUSTERED INDEX [_index] ON [dbo].[SomeTable]
(
[Column1] ASC,
[Column2] ASC,
[Column3] ASC
)
INCLUDE ([PrimaryKeyColumn])
Does it really matter to include primary key (clustered index) column to included columns list? I always think that it is included by default as link to original row. Am I wrong?
Update: I think it is also important to note that it proposes such index for query like: SELECT [PrimaryKeyColumn] FROM [dbo].[SomeTable] WHERE ...[Conditions]... and it really influences performance and execution plan. So as far as I understand index doesn't contain really 'clustered index', but just some link to row. Is it so?