Quantcast
Channel: Eric Cobb – SQL Nuggets
Viewing all articles
Browse latest Browse all 119

List All Foreign Keys Referencing A Table In SQL Server

$
0
0

There may be times that you need to get a list of tables that have foreign key constraints back to a table that you’re working on.  Fortunately, SQL Server has a built in system procedure that makes this extremely simple.  Let me introduce you to sp_fkeys.  This sweet little proc returns information about foreign key…

Continue reading

The post List All Foreign Keys Referencing A Table In SQL Server appeared first on SQL Nuggets.


Viewing all articles
Browse latest Browse all 119

Trending Articles