Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using an index with multiple fields
Message
From
02/05/2011 21:21:29
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Indexing
Title:
Using an index with multiple fields
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01509136
Message ID:
01509136
Views:
100
I have an index which is defined with a combination of three fields. Usually, for big queries which take a few seconds, we usually create those type of indexes in respect to the where clause of the SQL command in the same order in the index field order definition.

When I look at the execution plan, I can now see that it uses this index and this simplifies the execution plan. When I move the mouse over the specific object in the execution plan, I can see that there is an output list. Is this the recommanded include fields I should also add in this index?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform