SDU Tools: List Foreign Key Columns in a SQL Server Database
In a previous post, I talked about the ListForeignKeys procedure as part of our free SDU Tools for developers and DBAs. That procedure returned one row per foreign key. Sometimes though, you need to process each column of a foreign key separately. So we’ve provided the ListForeignKeyColumns tool to do that.
The tool also detects any keys that are using system-generated names. (We don’t recommend that).
You can see how to execute it in the main image above. The procedure takes these parameters:
2018-10-24


