Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Find Unindexed Foreign Keys (2005)

By Michael Smith,

This script will find foreign keys (on referencing table) that are not indexed.  It looks for exact definition of index matching columns and order.

User should decide if index intersection from other indexes are sufficient, e.g., individual indexes on each column of a foreign key.

Total article views: 3688 | Views in the last 30 days: 22
 
Related Articles
FORUM

index

index

FORUM

Index

Index

FORUM

Index

index

FORUM

Indexes

Clustered Index and Nonclustered Index

Tags
indexing    
 
Contribute