In SQL Server you can look at the Query Plan in Query Analyzer or Management Studio. This will tell you the rough percentage of time spent in each batch of statements. You’ll want to look for the following: Table scans; this means you are completely missing indexes Index scans; your query may not be using [...]
