Skip to content

-

The topic describes the EX0008 analysis rule.

EX0008: Generate CREATE INDEX statements for all columns included in foreign keys.

Section titled “EX0008: Generate CREATE INDEX statements for all columns included in foreign keys.”

Generate CREATE INDEX statements for all columns included in foreign keys.

The rule checks for not indexed foreign keys in the current database and generated the appropriate CREATE INDEX statements.

The rule has a ContextOnly scope and is applied only on current server and database schema.

NameDescriptionDefault Value
MinimumRowsCountInclude only tables that have more than the specified minimum number of rows.0

Explicit Rules

There is no additional info for this rule.

Analysis Rules