SQL Data Compare - 7.0

SQL Data Compare

Learning SQL Data Compare - 7.0

Getting started

SQL Data Compare enables you to compare and synchronize the data in two Microsoft® SQL Server™ databases. You can also compare a backup with a database, or another backup. SQL Data Compare enables you to synchronize multiple tables whilst maintaining referential integrity.

This is useful, for example, to identify the differences between the contents of two databases following a failed replication; or to restore selected rows from a backup.

You can use SQL Data Compare to compare and synchronize data in SQL Server 2008, SQL Server 2005, and SQL Server 2000 databases.

SQL Data Compare: step-by-step

  1. Select a databases or database objects to compare
  2. Set options for the comparison
  3. View the differences between compared objects
  4. Synchronize your databases or create a synchronization script

Technical notes

SQL Data Compare's mapping features allow you to compare any tables with compatible data types

You can create a rollback script to undo data synchronization

You can use WHERE clauses to apply conditions to a comparison

SQL Data Compare can take time to compare and synchronize data sources. Speed depends primarily upon disk write speed, processor speed, memory, and the size of the databases. However, there are a number of things that you can do to get better performance out of SQL Data Compare.

If your tables or views are very different, for example if data types are different, Red Gate Software offers SQL Compare®, which will synchronize the structure of two databases. You can then use SQL Data Compare to synchronize the data.

Worked examples

Learn more about SQL Data Compare by following one of these detailed examples:

Getting more information

Was this article helpful?

Search support
Forums

SQL Data Compare

all SQL products

all products