This review is read, not tested: every fact below comes from Redgate's documentation for SQL Data Compare 16, its release notes and its product page, fetched in November 2026. For a side-by-side with Devart's tool, see Redgate vs dbForge Data Compare. This post goes deeper on Redgate alone and does not repeat that table.
#What it is and who makes it
SQL Data Compare is a Windows desktop application from Red Gate Software, which also makes SQL Prompt, SQL Compare and Flyway. Its schema sibling, SQL Compare, compares table definitions. SQL Data Compare compares what is in the tables.
The current version is 16.1. Version 16.0 added SQL Server 2025 as a source and target, and stopped saving passwords in the project file: they now go to the Windows Credential Store. Version 16.1 checks a WHERE clause before the comparison runs and warns when it "looks unsafe". The latest update in the release notes is dated 10 November 2026.
#What it does, feature by feature
#The data sources
You pick a source, which will not change, and a target, which will. The documentation lists:
- Databases: any database you can connect to on a SQL Server. The product page names SQL Server 2008 to 2025, Azure SQL and SQL Server on Amazon RDS.
- Backups: native SQL Server backups and Redgate SQL Backup files, Pro only. A differential backup needs its full backup beside it; partial, filegroup and transaction log backups are not supported.
- Scripts folders and source control: a folder of creation scripts, a revision from source control, or a Flyway project. The product page puts scripts folders in Pro.
#Mapping and the comparison key
On the Tables & Views tab, tables and views with the same name and schema are paired automatically. Anything else you pair by hand with Map. Views appear only when the project option Include views is on.
To pair rows, every table or view needs a comparison key. Redgate picks a primary key or unique index when it can; otherwise the box says Not Set and you choose the columns yourself. A view has no primary key, so for a view you always set it.
#Filtering with a WHERE clause
Double-click a table on Tables & Views, or select it and click WHERE Clause, to open the WHERE Clause Editor. Clear Use the same WHERE clause for both data sources to give each side its own clause, useful when two servers keep different time zones. Two limits, from the documentation: a WHERE clause works only when the source is a database, not a backup or a scripts folder; and the editor does not validate the clause, which is checked when the comparison runs.
#The options that change what "different" means
The project options are where a comparison's judgement lives. The ones that decide whether two values count as the same:
- Trim trailing spaces: two strings that differ only in spaces at the end are identical.
- Force binary collation (case-sensitive): a case-sensitive comparison of every string column.
- Use maximum precision for floats: floats are compared to 17 digits instead of the default 15.
- Use checksum comparison: a checksum first, and rows compared only where it differs. The documentation warns that data differing only in text or image columns may then be "flagged incorrectly as identical".
There is no option for a numeric tolerance. A decimal column that is four cents apart is different, however small the difference.
#Results and deployment
The results show each table's rows as identical, different, or present on one side only, with a pivot view for wide rows. From there the Deployment Wizard writes a T-SQL script that makes the target match the source, or runs it. Pro can back up the target before a deployment, and restore a single damaged row from a backup without restoring the database. You can also run comparisons from inside SQL Server Management Studio.
#The editions and the price
From the product page, November 2026:
| Standard | Pro | |
|---|---|---|
| Live databases, SQL Server 2008 to 2025, Azure SQL, RDS | Yes | Yes |
| Linux command line (beta) | Yes | Yes |
| Backups and scripts folders as a source | No | Yes |
| Row, column or table restore from a backup | No | Yes |
| Back up the target before deploying | No | Yes |
| Run deployments from the command line | No | Yes, with a licence condition (below) |
| How it is sold | On its own | Only inside SQL Toolbelt Essentials |
| Price per user, one-year subscription | $327 (1 to 4 users), $312 (5 to 9), $294 (10 or more) | $1,410 for SQL Toolbelt Essentials (1 to 4 users) |
The pricing page asks for a quote above 19 users, and longer subscriptions are set in the cart. There is a 14-day free trial. SQL Toolbelt Essentials also includes SQL Compare Pro and SQL Prompt, so if your team already pays for it, you already have SQL Data Compare Pro.
#The command line, and the licence it needs
sqldatacompare runs a comparison without the window. The switches you need for a nightly job:
| Switch | What it does |
|---|---|
/Server1, /Database1, /Server2, /Database2 | The two databases; without /UserName1 and /Password1 it uses integrated security |
/Project: | Runs a saved .sdc project, with its keys, WHERE clauses and options |
/Export: | Writes the results to a folder, always as Summary.csv |
/ScriptFile: | Writes the deployment script without running it |
/Synchronize | Deploys; only the target changes |
/Options: | Project options, such as Default,TrimTrailingSpaces |
/Out: and /Force | Console output to a file; overwrite files that exist |
Three details from the switches page that catch people out. A project run with /Project selects all mapped objects, "rather than only those that were selected for comparison when you saved the project", and /Include and /Exclude cannot be used with it. /ComparisonKeys accepts only an index, so a key on a view's columns has to be saved in a project. And there is no switch for a WHERE clause: that too lives in the project.
The exit codes tell a script what happened. 0 is success. 63 means "the databases being compared are identical or no objects have been included", unless you pass /Include:Identical. 61 means the project has WHERE clauses that look unsafe, 35 an invalid or expired licence, 126 a SQL Server error. So a scheduled script can treat 63 as all clear and 0 as a run that found differences:
@echo off
rem Nightly store-day sales comparison. Run with SQL Data Compare's folder on PATH.
sqldatacompare /Project:"C:\Compare\StoreDaySales.sdc" /Export:"C:\Compare\Results" /Out:"C:\Compare\last-run.txt" /Force
set RC=%ERRORLEVEL%
if %RC%==63 (
echo No differences.
exit /b 0
)
if %RC%==0 (
echo Differences found. See C:\Compare\Results\Summary.csv
exit /b 1
)
echo SQL Data Compare failed with exit code %RC%. See C:\Compare\last-run.txt
exit /b %RC%Put that in a scheduled task, and Task Scheduler's Last Run Result shows 0x0 for a quiet night and 0x1 for a night with differences. Nothing more happens unless you add it: SQL Data Compare has no scheduler, history or alert of its own.
There is also a Linux command line, as a Docker image. Its page says it needs a personal access token on every call and does not support Active Directory authentication.
Now the licence. The product page lists command-line deployments under Pro, with a footnote: using Redgate's command line tools "as part of a Redgate Pipeline (an automated database change delivery process)" needs a Flyway Enterprise, Redgate Deploy or SQL Toolbelt licence. The command line's getting-started page goes further: in an automated change delivery process it "is not a licensed use case when purchased standalone, or through SQL Toolbelt Essentials". Whether a nightly comparison that deploys nothing counts as such a process, the pages do not settle. Ask Redgate in writing before you build on it.
#One night with it, on an invented chain
An invented chain with 120 stores consolidates its tills into POS_HQ and runs its ERP on ERP_PROD, both SQL Server. The DBA creates a view on each side, v_store_day_sales, with store, business date, receipt count and net sales (the queries are in the Redgate vs dbForge post), sets store and business date as the comparison key, adds a WHERE clause for yesterday on each side, and saves the project. The batch file above runs it at 05:30.
| Store | Tills | ERP | What SQL Data Compare shows | What is left to you |
|---|---|---|---|---|
| ST-004 | 9,850.20 | 9,850.20 | Identical | Nothing |
| ST-014 | 12,400.00 | 11,920.00 | Different | Finding out why 480 never posted |
| ST-022 | 6,410.75 | none | Only in the source | Finding out why the day never arrived |
| ST-031 | 8,120.00 | 8,119.96 | Different | Deciding that 0.04 of rounding does not matter, every morning |
| ST-037 | 5,214.60 | 5,214.60 | Identical | Nothing |
Invented figures. The tool does its job exactly: three rows out of five, found before anyone is in. The batch file exits 1, so the task shows that something differed. Then it stops. The results land in Summary.csv, and someone still has to open them, or the project, to see which stores. Nothing marks ST-031 as noise. And the Deployment Wizard would offer to copy 12,400 into the ERP, which is the wrong fix: the ERP is short because it refused lines, and overwriting the total hides that.
#Where it stops
Each of these follows from Redgate's own pages:
- SQL Server only. Tills on Oracle, an ERP on PostgreSQL, a web shop behind an API: none is a source. For two engines, see comparing data between two databases.
- No tolerance. Trimming spaces and float precision are the only judgement it has over values.
- No scheduler or history. Tonight's result does not know about last night's.
- One pair per project. 120 store databases means 120 projects, or a consolidation job you also have to watch.
- The command line's licence. Read the section above before planning a nightly run.
- The reason. A differing row is where it ends.
#Who it suits, and who it does not
It suits a DBA or developer team on SQL Server who refreshes test from production, checks a restore, ships lookup data with a release, or recovers a few rows from a backup. If the team already owns SQL Toolbelt Essentials, it is already paid for.
It does not suit a team whose two systems run on different engines, who wants a scheduled answer per store with a threshold, or who needs to know why a figure differs rather than how to overwrite it.
#Alternatives worth a look
- dbForge Data Compare for SQL Server, from Devart. Its editions page lists Standard at $239.95 and Professional at $299.95 (November 2026), compares the results of custom queries without a view in both editions, and keeps the command line and backups for Professional. The detail is in Redgate vs dbForge Data Compare.
- DBeaver. The free Community edition has no data compare, but a full outer join in its SQL editor goes a long way; Data Compare is in the paid editions. See compare two tables in DBeaver.
- Plain SQL. EXCEPT both ways, a full outer join on the key and a hash per row cost nothing. The queries are in compare two tables in SQL.
#Where DataMosaic sits
DataMosaic asks a different question: not which rows differ between two SQL Server databases, but why two systems disagree, store by store, every night.
A check reads two systems with a query each, on whatever engine they run (SQL Server, Oracle, PostgreSQL, MySQL, SQLite, Snowflake, REST APIs, CSV or Excel files), lines them up on a key such as store and business date, and compares the measures you choose with a tolerance on each, so ST-031 counts as a match. Rules decide whether a run passed, a schedule runs it, and every run is kept in its history. On a row that differs, an investigation asks each system what it saw until there is a reason for ST-014. A check only reads. Mosaic acts on a system only through a workflow you build, and no AI decides what changes.
Mosaic writes no synchronisation script and restores no rows from a backup, and a source reads up to 50,000 rows by default, so it is built for one row per store per day, not for diffing two copies of a database. For that, keep SQL Data Compare. Every Mosaic feature is free while it is in beta (November 2026).
#Questions people ask
#How much does Redgate SQL Data Compare cost?
The product page lists $327 per user for a one-year subscription for 1 to 4 users, $312 for 5 to 9 and $294 for 10 or more (November 2026). Pro comes only with SQL Toolbelt Essentials, at $1,410 per user a year for 1 to 4 users. There is a 14-day free trial.
#Does SQL Data Compare have a command line?
Yes, sqldatacompare, on Windows and as a Docker image on Linux. The product page lists command-line deployments under Pro, and the documentation says that in an automated change delivery process it needs a Flyway Enterprise, Redgate Deploy or SQL Toolbelt licence.
#Can I use a WHERE clause in SQL Data Compare?
Yes. On the Tables & Views tab, open the WHERE Clause Editor for a table, with one clause for both sides or one each. It works only on databases, not backups or scripts folders, and from the command line only through a saved project.
#What does exit code 63 mean in SQL Data Compare?
That the two data sources are identical, or no objects were included. Pass /Include:Identical if you want identical sources to return 0 instead.
#Can SQL Data Compare compare SQL Server with Oracle or PostgreSQL?
No. It compares SQL Server data sources: SQL Server 2008 to 2025, Azure SQL and SQL Server on Amazon RDS, plus backups and scripts folders. For another engine, both sides have to be read by something else.