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]

Leave a Reply

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

Serverless 360