creating an additional indexes may or may not impact one particular query but may impact others queries requesting data from that table.
once you created that index you should re-analyse the other queries using the indexes with that column and see if any of the other indexes are now redundant. Run the index tuning wizard check its recommendation. The index tuning wizard normally makes a good choice based on queries run against the table.
Also read the "Designing an Index" from Books Online
When Microsoft® SQL Server⢠2000 executes a query, the query optimizer evaluates the costs of the available methods for retrieving the data and uses the most efficient method. SQL Server can perform a table scan, or it can use an index if one exists. When performing a table scan, SQL Server starts at the beginning of the table, steps row-by-row through all the rows in the table, and extracts the rows that meet the criteria of the query. When SQL Server uses an index, it finds the storage location of the rows needed by the query and extracts only the needed rows.
When you are considering whether to create an index on a column, consider if and how an indexed column is to be used in queries. Indexes are useful when a query:
Jaime E. Maccou
|