devxlogo

September 13, 2018

Find Tables Referenced by Foreign Keys

You can easily find tables referenced by foreign keys with a script similar to the following: SELECT [table] = s.name + N’.’ + t.name FROM sys.tables AS t INNER JOIN