SDU Tools: List Incoming Foreign Keys in a SQL Server Database
One of the challenges when you have foreign keys in place, is that there are restrictions on what you can do to tables that are the targets of the foreign keys. What’s often needed though is a list of all references to a particular table or set of tables.
In our free SDU Tools for developers and DBAs, we added a function ListIncomingForeignKeys to do just that, and to provide their details in a form that’s easy to consume programmatically if you need that.
2018-10-31