简体   繁体   中英

Compare two tables with different schema in SQL Server

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.

Compare SQL Server schemas and deploy differences fast

Compare and deploy SQL Server database contents

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM