Site icon Sibeesh Passion

Find the Relationship Difference Between Two DB

Find the relationship difference between two DB.
[sql]
SELECT f.name AS ForeignKey
FROM sys.foreign_keys AS f where f.name not in
(SELECT f.name AS ForeignKey
FROM inova.sys.foreign_keys AS f)order by f.name asc
[/sql]

Exit mobile version