sys.sysforeignkeys

compatibility
#compatibility#catalog-view

Description

Contains information about the FOREIGN KEY constraints that are in the definitions of tables in ID of the FOREIGN KEY constraint. Object ID of the table with the FOREIGN KEY constraint. Object ID of the table referenced in the FOREIGN KEY constraint. Position of the column in the reference column list. Mapping System Tables to System Views (Transact-SQL) Compatibility Views (Transact-SQL) This SQL Server 2000 system table is included as a view for backward compatibility. We