I have two tables in different databases with different schema, how can I compare them both?
Let's say I have the DB1
with the table history.Table1
and another DB2
with the same table but in a different schema, backup.Table1
.
Now I need to compare what's different besides the schema name obviously.
Try SQL Compare from Redgate. They allow you to compare pretty much everything from the actual data to the schema.
I dont believe there is any native functionality in sqlserver.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.