SQL Server: Show all the FOREIGN KEYS that reference a TABLE

For SQL 2005+

Notes:

  • Change line (1) to specify the table name.

Leave a Reply

Your email address will not be published. Required fields are marked *