SQLpassion BLOG

Composite Non-Clustered Indexes – does the Column Order matter?

When I talk about indexes, people always ask me if the sorting order of the columns in a composite Non-Clustered Index matters? The short answer is always “It depends”. Let’s have a look on it why “it depends”.. Singleton Lookups When you have queries which perform Singleton Lookups on your tables, the sorting order of …

Composite Non-Clustered Indexes – does the Column Order matter? + read more

999 Non-Clustered Indexes on a Table – a good idea?

Every index in SQL Server can improve your query performance, if the Query Optimizer chooses the index in the execution plan for data retrieval. But on the other hand every index will also hurt your performance, because the index has to be maintained during INSERT, UPDATE, and DELETE operations. Therefore it is very important to …

999 Non-Clustered Indexes on a Table – a good idea? + read more