Possible Duplicate:
Thoughts on index creation for SQL Server for missing indexes
T-SQL for finding Redundant Indexes
I am using SQL Server 2008 and have a database with more than 150 tables that have duplicate indexes.
I found some sql scripts which will list the duplicate indexes, but I’m not sure if I should trust them. Supposedly, they are saying that I have over 400 duplicate indexes; I’m not sure if that is correct, and therefore don’t want to use them to automatically remove dupes.
How can I definitively locate duplicate indexes and remove them?
Check out Tom LaRock’s excellent How to Find Duplicate Indexes blog post – he explains in great detail how to go about, and also offers up scripts to detect duplicate indices.