Keys in System Tables

Primary, foreign, and common keys for system tables are defined in the master and model databases. You can generate a report on defined keys by executing sp_helpkey. For a report on columns in two system tables that are likely join candidates, execute sp_helpjoins..

The System Tables Diagram shows the relationships between columns in the system tables.