After asking around and getting a few suggestions on how to do an automated search for SQL Server tables that have columns that look like foreign keys but do not have constraints on the columns. Here is the SQL statement for this search:

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.