DataMosaic

Blog · Compared

Redgate SQL Data Compare vs dbForge Data Compare: sources, CLI, price

Two SQL Server data compare tools, checked on their makers' own pages, a store-by-store view each can compare, and where DataMosaic asks a different question.

#What both tools are for

Both are desktop tools that read two SQL Server data sources, pair the rows on a key, and show you which are identical, which differ, and which exist on one side only. Then they write the script that would make the target match the source.

That is the right answer to a DBA's questions. Did the test database restore cleanly? What changed in production since Friday's backup? Which rows did last night's bad update touch? Both tools do those well, and if that is your question, the choice between them comes down to edition, price and the details below.

If you want the same answer without buying anything, the queries are in compare two tables in SQL: EXCEPT both ways, a full outer join on the key, and a hash per row.

#Redgate and dbForge side by side

Each fact below comes from the vendor's own product page or documentation, read in November 2026.

Redgate SQL Data ComparedbForge Data Compare for SQL Server
EnginesSQL Server 2008 to 2025, Azure SQL, SQL Server on Amazon RDSSQL Server, Azure SQL Database, Azure SQL Managed Instance, Amazon RDS, Heroku Cloud
SourcesLive databases, backups (Pro), folders of SQL scriptsLive databases, backups (Professional), scripts folders
Comparing something other than a tableViews, with Include views; a WHERE clause per sideViews, and the results of a custom query
Script to make them matchYes, and deploymentYes, except for custom query results
Command linesqldatacompare; a licensed use only with Flyway Enterprise, Redgate Deploy or SQL Toolbeltdatacompare.com, Professional edition
SchedulingNo scheduler of its own: a batch file in a scheduled taskNo scheduler of its own: a .bat file in Windows Task Scheduler, Professional edition
Results outCSV files, with /ExportCSV, Excel and HTML
Other enginesNot this productSeparate Data Compare tools for MySQL and PostgreSQL
Price$327 per user, one-year subscription, 1 to 4 usersStandard $239.95, Professional $299.95, per year

Three things in that table matter more than they look.

Redgate's command line is a licensing question. Its product page lists command-line deployments under Pro, but its documentation says that to use the command line "a Flyway Enterprise, Redgate Deploy or SQL Toolbelt license is required", and that it "is not a licensed use case when purchased standalone, or through SQL Toolbelt Essentials". If you plan to schedule comparisons, ask Redgate which licence covers your case before you buy.

dbForge's custom query comparison is compare only. Devart's documentation says the results of custom queries "can be compared but cannot be synchronized". That is fine for a check, and it is the feature most useful outside a DBA's job, as the next section shows.

Neither has a scheduler inside. Both run from a batch file that Windows Task Scheduler starts. Nothing inside either tool keeps a history of last night against tonight, or decides whether a difference is worth waking someone for. That is up to you and the batch file.

#Comparing sales per store with each tool

Here is the stretch most comparisons skip: using either tool for a retail question rather than a database one. Suppose an invented chain consolidates its tills into a SQL Server database at head office, POS_HQ, and its ERP also runs on SQL Server, ERP_PROD. You want one row per store per day on each side.

Create a view on each side, in its own database:

-- In POS_HQ
CREATE VIEW dbo.v_store_day_sales AS
SELECT store,
       business_date,
       COUNT(*)        AS receipts,
       SUM(net_amount) AS net_sales
FROM dbo.pos_receipts
GROUP BY store, business_date;
GO

-- In ERP_PROD
CREATE VIEW dbo.v_store_day_sales AS
SELECT store_code   AS store,
       posting_date AS business_date,
       COUNT(*)     AS receipts,
       SUM(net_amount) AS net_sales
FROM dbo.sales_documents
GROUP BY store_code, posting_date;
GO

The column names are invented: put in your own. Both views have the same name and the same columns, so the tools can pair them.

#In Redgate SQL Data Compare

  1. Start a new project with POS_HQ as one database and ERP_PROD as the other.
  2. In the project's options, turn on Include views.
  3. On the Tables and Views tab, select v_store_day_sales and set store and business date as its comparison key, since a view has no primary key of its own.
  4. To narrow the comparison to yesterday, add a WHERE clause on the same tab. Redgate lets you give each side its own clause, and checks the syntax only when the comparison runs.
  5. Run the comparison, and save the project so it can run again from the command line.

To run it every night, Redgate's documentation gives a scheduled task that calls a batch file like this one, run from the installation folder. Its own examples use a saved project with /Project:

sqldatacompare /Project:"C:\Compare\StoreDaySales.sdc" >> "C:\Compare\log.txt"

#In dbForge Data Compare

  1. On the File menu, click New, then New Data Comparison.
  2. On the Source and Target tab, choose Database for both, then the connection and database for POS_HQ and ERP_PROD.
  3. On the Mapping page, click Custom Query. You can paste the SELECT from each view here instead of creating the views, and click Validate.
  4. In the Comparison Key column, choose Custom, then store and business date. Without it, dbForge warns that the objects to compare have no key column.
  5. Run the comparison, and save the comparison file.

The Professional edition runs the saved file from the command line, with an HTML report:

datacompare.com /datacompare /compfile:"C:\Compare\StoreDaySales.dcomp" /log:"C:\Compare\log.log" /report:"C:\Compare\report.html" /reportformat:HTML

Put that line in a .bat file, then in Windows Task Scheduler open the Actions menu, choose Create Basic Task, and point it at the file.

#One Monday through each tool

An invented chain with 120 stores. Monday's view, for five of them:

StoreTillsERPRedgate SQL Data ComparedbForge Data CompareMosaic
ST-0049,850.209,850.20IdenticalIdenticalMatches
ST-01412,400.0011,920.00DifferentDifferentDiffers by 480.00. Investigation: lines refused for no tax code
ST-0226,410.75noneOn one side onlyOn one side onlyMissing in the ERP. Investigation: the day never arrived
ST-0318,120.008,119.96DifferentDifferentWithin the rule: 0.04 of rounding
ST-0375,214.605,214.60IdenticalIdenticalMatches

Invented figures. On one engine, with a view on each side, both tools find the same three rows, and that is a real result: you know where to look before nine. The pages read for this post describe no tolerance for a decimal column in either tool, so four cents of rounding at ST-031 sits in the list beside 480 at ST-014. And neither tool can say why ST-014 is short. The synchronisation script they offer would be the wrong fix here: copying the tills' figure into the ERP hides the refused lines instead of posting them.

#Where both stop

The example only worked because the chain had already copied every store's tills into one SQL Server database. Many chains have not, and that is where the two tools run out:

  • Two engines. Tills on Oracle and an ERP on SQL Server, or a web shop behind an API, are outside what either SQL Server tool compares. dbForge's PostgreSQL tool compares PostgreSQL and PostgreSQL-compatible databases, not one engine with another. Moving one side over first is a project of its own, covered in comparing data between two databases.
  • One database per store. 120 store servers means 120 comparisons, or a consolidation job you now have to check as well.
  • A rule, not a list. A list of differing rows has no threshold, so somebody reads it every morning to decide what matters.
  • The reason. A row that differs is the end of their answer. For retail IT it is the start of the question.

None of that is a fault in either tool. They were built to keep two copies of a SQL Server database in step, and they do.

#What DataMosaic answers instead

DataMosaic asks why two systems disagree, store by store, every night, rather than which rows differ between two databases.

  • A check reads two systems with a query each, lines them up on a key such as store and business date, and compares the measures you choose. The two sides need not share an engine: SQL Server, Oracle, PostgreSQL, MySQL, SQLite, Snowflake, REST APIs and CSV or Excel files are all sources. One query can run against every store's server in a list, and each row comes back labelled with the server it came from.
  • Each measure has a tolerance, so ST-031's 0.04 counts as a match. Rules then decide whether a run passed: rows that differ, at most 0, fail the run is the first one most people add.
  • A trigger runs the check on a schedule inside Mosaic, and keeps every run's result in its history.
  • On a row that differs, an investigation asks each system what it saw, until there is a reason.
  • A workflow is a fix you build, such as sending a batch again, running the check again, and emailing the store manager only if it still differs. A check only reads. Mosaic acts on a system only through a workflow you build, and no AI decides what changes.

Where Mosaic stops: it writes no synchronisation script between two databases and restores no rows from a backup. A source reads up to 50,000 rows by default, a limit you can raise, so it is built for one row per store per day rather than for diffing two copies of a database row by row. For that, keep Redgate or dbForge. Every Mosaic feature is free while it is in beta, and sources and stores are never counted on any plan (November 2026).

#Which job needs which

The jobThe tool
Refresh test from production, check a restoreRedgate or dbForge
Recover a row from a backup without a full restoreRedgate SQL Data Compare Pro, or dbForge Professional
Compare the results of two queries on SQL Server, cheaplydbForge Data Compare
Your team already owns SQL Toolbelt or Redgate DeployRedgate SQL Data Compare
Tills against ERP sales, every store, every nightDataMosaic
Two systems on different engines, or behind an APIDataMosaic
After a POS or ERP migrationA compare tool on cutover night, DataMosaic every night after

For the wider field, including finance platforms and pipeline diffs, see the best data reconciliation tools for retail IT.

#Questions people ask

#Is dbForge Data Compare cheaper than Redgate SQL Data Compare?

Yes, at list price. Devart lists dbForge Data Compare for SQL Server at $239.95 a year for Standard and $299.95 for Professional, and Redgate lists SQL Data Compare at $327 per user for a one-year subscription for 1 to 4 users (November 2026).

#Can Redgate SQL Data Compare compare SQL Server with Oracle?

No. SQL Data Compare compares SQL Server data, including Azure SQL and SQL Server on Amazon RDS. Comparing SQL Server with Oracle needs both sides read by something else, such as a linked server, two exports, or a tool that connects to both.

#Does dbForge Data Compare have a command line?

Yes, in the Professional edition: datacompare.com /datacompare /compfile: followed by a saved comparison file. Standard has no command line, according to Devart's editions page.

#How do I schedule SQL Data Compare?

Put the sqldatacompare command in a batch file and run it from a scheduled task in Windows. Check your licence first: Redgate's documentation makes command-line use a licensed case only with Flyway Enterprise, Redgate Deploy or SQL Toolbelt.

#Can either tool compare the results of a query?

dbForge compares custom query results directly, without synchronising them. Redgate compares views, so you put the query in a view on each side and turn on Include views.

Stop comparing exports by hand.

DataMosaic checks the systems themselves overnight, tells you why they differ, and runs the fix you've set up, before anyone else notices.