Windows desktop + command line

Compare SQL Server.
Deploy the difference.

Compare SQL Server schemas, server configuration and data, also across all your environments at once. Generate the deployment script.

Download free trialPricingCompare with other toolsNew Compare all your environments at once →
SQLTreeo Compare results page with a selected object and a side-by-side script diff
Production compared with Development, Test, Acceptance and Training in one matrix

Every environment.
One comparison.

New in version 0.1.9

Compare Production with Development, Test, Acceptance and any other environment in one run. One matrix shows which tables, procedures, permissions or server settings differ where, and a click opens the comparison of that environment, ready to deploy.

Typical compare tools compare one source with one target at a time. Here every environment is side by side, for database schemas and for server configuration.

See how it works

Three comparisons, one tool

Schema, server and data

Pick the comparison, set the source and target, press Compare. Results are grouped by Only in source, Different, Only in target and Identical, with a side-by-side script diff for every object.

Schema compare

Tables, columns, indexes, constraints, views, procedures, functions, triggers, sequences, synonyms, user-defined types, users, roles, permissions and extended properties.

Generates a deployment script from source to target and can run it against the target inside a transaction.

How to compare two databases

Server compare for DBAs

Server properties, sp_configure, trace flags, logins, server roles and permissions, credentials, linked servers, endpoints, server triggers, audits, database options and files, SQL Server Agent, Database Mail, Resource Governor and Extended Events.

Generates a configuration script that applies the source settings to the target.

How to compare two instances · Agent jobs and logins

Data compare

Row-by-row comparison of matching tables using primary or unique keys. Include or exclude tables and columns with wildcards.

Ideal for reference data and configuration tables that drift between environments.

How to compare table data

No database contents, connection details, passwords, scripts or comparison results are ever transmitted to SQLTreeo. Only the license check, a start report and the update check go over the internet; the license agreement says what they contain.
Deploy dialog showing the generated script, the number of changes and DROP statements, and the warnings to review

Review every difference before you deploy

Select an object to see its property differences and a side-by-side script diff. Filter by text, object type or date changed, show or hide a group with one click on its coloured count, and keep the current group pinned while you scroll.

The deployment script is analysed for DROP and data-loss statements before anything runs, and risks such as a column that changes type are listed. A server configuration script lists the manual steps, such as passwords, at the top. Deploy a schema script, by default inside a transaction, or save the script for your change process.

sqlcompare schema ^
  --source "Server=dev;Database=Shop;Integrated Security=true" ^
  --target "Server=test;Database=Shop;Integrated Security=true" ^
  --script deploy.sql --format html --output report.html

# exit code 0: no differences, 1: differences found, 2: error

Built for pipelines

The sqlcompare command line runs the same engine without the UI. Compare schema, server or data, write an HTML, JSON or text report, generate the script or deploy it straight from CI.

Detect schema drift in a pipeline · Command line reference
What's new dialog listing the changes of an available update, with an Update button

Updates you can read before you install

The installed desktop app checks for updates at startup and while it runs. What's new shows the release notes of the new version first; one click downloads the update and a second restarts into the new version.

Projects store connections, object types and options. Every comparison you run is also kept automatically under Recent comparisons. Windows, SQL Server and Microsoft Entra ID authentication are supported. Passwords are saved only when you ask and are encrypted for your Windows account.

Every screen at a glance

See it in action

Click a screenshot to enlarge it.

Requirements

Runs on Windows, talks to any SQL Server

Desktop

Windows 10 or 11. The installer is per user and needs no administrator rights.

Targets

SQL Server 2016 and later, Azure SQL Database and Azure SQL Managed Instance. Server-level sections that do not exist on a platform are reported as warnings.

Command line

Self-contained win-x64 build for build servers and agents. Supply connections as arguments or through environment variables.

Guides

Guides for comparing SQL Server

Step-by-step articles for SQLTreeo Compare, most of them with a T-SQL check you can run as well.

Compare Development, Test, Acceptance and Production in one run

Check whether Development, Test and Acceptance still match Production: find schema drift across all your SQL Server environments in one comparison.

Read the guide

Find configuration drift across all your SQL Servers

Compare sp_configure settings, trace flags, logins, Agent and database options of one reference SQL Server with all your other instances, in one matrix.

Read the guide

How to compare two SQL Server databases

Compare two SQL Server databases with SQLTreeo Compare: tables, columns, indexes, procedures and permissions, with a deployment script. Also a T-SQL check.

Read the guide

Compare indexes between two SQL Server databases

Find indexes that exist in one SQL Server database but not the other, or have other columns, with SQLTreeo Compare across servers, or with a T-SQL query.

Read the guide

Compare table data between two SQL Server databases

Find missing, extra and changed rows between two SQL Server databases with SQLTreeo Compare, for every table and across servers, or with EXCEPT for one table.

Read the guide

Compare the configuration of two SQL Server instances

Compare sp_configure settings, trace flags, logins, Agent jobs, Database Mail and database options between two SQL Server instances, and script the differences.

Read the guide

Compare SQL Agent jobs and logins between two servers

See with SQLTreeo Compare whether two SQL Server instances have the same Agent jobs, operators and logins, and script what is missing, also for AG replicas.

Read the guide

Detect schema drift in a CI pipeline

Fail a build or raise an alert when a SQL Server database drifts from its reference, with the SQLTreeo Compare command line in GitHub Actions or Azure DevOps.

Read the guide

Compare a database with its backup: what changed since last night?

See which tables, rows and objects changed since a backup with SQLTreeo Compare: copy the backup into a scratch database and compare it with the live one.

Read the guide
Pricing plan

Try it free for 30 days

30% off

Limited offer: buy any 3 different SQLTreeo products in one checkout and take 30% off.Ends November 30, 2026

Choose your 3

Free trial

Free
30 days, every feature
  • Starts automatically on first launch
  • Schema, server and data compare
  • After the trial: comparing and viewing stay free
Download

Named User license

$99
about €87
per named user, for 1 year
  • Copy, save and deploy scripts; export reports
  • The sqlcompare command line
  • One person, up to three computers
  • Schema, server and data compare in one license
  • All updates during the term
  • Support
  • Build or CI servers need a key per server; contact us
Buy now

Ready to compare?

Download SQLTreeo Compare, open it and pick a comparison. The trial starts on first launch and covers every feature.

By installing SQLTreeo Compare you accept the end-user license agreement.