SQL Server 2008: Database Engine Tuning Advisor
I don't think this thing works. I posted a bug report in Connect. If you can replicate my problem, described below, please go here and confirm the issue. Get a copy of AdventureWorks2008. Pick any of the bigger tables. In my case I went with the Sales.SalesOrderHeader table. Write a query, a simple one or a complex one, that has performance problems that can be easily fixed by the right query. Here's a simple example: SELECTÂ Â soh.Freight, soh.SalesOrderNumber FROMÂ Â Â Â Sales.SalesOrderHeader AS soh WHEREÂ Â soh.SalesOrderNumber LIKE 'SO' + CAST(6 AS VARCHAR) + '%' AND soh.Freight > 50 If you run this query and get an execution plan, it immediately flags a missing index. The plan itself is a clustered index scan and a filter operation. Take the index it suggests and build it:…