sp_fkeys (version 6.5)

Returns logical foreign key information for the current environment. This procedure shows foreign key relationships including disabled foreign keys. Application coding that includes tables with disabled foreign keys could be implemented as follows:

For additional syntax information for sp_fkeys, see the Microsoft SQL Server Transact-SQL Reference.

For more information on disabling constraints, see Disabling Constraints.