Article ID: 270600 - Last Review: October 3, 2003 - Revision: 3.2

PRB: Index Tuning Wizard May Not Recommend Indexes for SQL Statements in Triggers

This article was previously published under Q270600
Expand all | Collapse all

SYMPTOMS

The Index Tuning Wizard may not analyze indexes for SQL statements in triggers.

CAUSE

Only SQL:SQLBatchCompleted events are passed to the Index Tuning Wizard. Trigger statements are logged as SQL:StmtCompleted events and so are not passed to the Index Tuning Wizard.

WORKAROUND

Invoke the Index Tuning Wizard from the Query Analyzer and tune the individual statements in the trigger code.

MORE INFORMATION

For information on the Index Tuning Wizard, see the section "Index Tuning Wizard" in Books Online.

APPLIES TO
  • Microsoft SQL Server 2000 Standard Edition
Keywords: 
kbprb KB270600
 

Article Translations

 

Related Support Centers