SchemaSmith vs SQL Compare

Free, source-available CLI for SQL Server, PostgreSQL, MySQL, and MariaDB — vs Redgate’s commercial GUI-first SQL-Server-only diff tool.

Chaos vs Precision: Product Comparisons

Quick Summary

Both tools use a state-based approach to schema deployment. SchemaSmith is a free, source-available CLI (SSCL v2.0) covering SQL Server, PostgreSQL, MySQL, and MariaDB, with reference-data deployment included via DataTongs. Redgate SQL Compare is a commercial Windows GUI (CLI available on Linux via Docker) for SQL Server only; data deployment requires the separately licensed SQL Data Compare. SQL Compare and SQL Data Compare are both priced per user, per year, with volume bands, and Redgate publishes the prices on its site.

Technical Comparison

How the tools differ in approach, features, and developer experience.

Aspect SchemaSmith SQL Compare
Approach State-based, CLI-first State-based, GUI-first
Platform Coverage SQL Server, PostgreSQL, MySQL, MariaDB (platform-specific schema definitions) SQL Server & Azure SQL only
Deployment Surface Native CLI runs on Windows, macOS, Linux, ARM64 Windows GUI; CLI on Linux via Docker
Source Format JSON template files (one per table, plus indexed views) and SQL scripts (one per procedure, function, trigger, or ordinary view), kept in source control Source SQL files alongside Redgate’s project format
Reference Data Declarative DataDelivery blocks; two-pass FK-aware loader (DataTongs included) Not included — SQL Data Compare is a separate product
CI/CD Integration Native CLI is a single deployment step; idempotent Command-line deployment is a SQL Compare Pro feature; using it in a Redgate Pipeline needs a Flyway Enterprise, Redgate Deploy, or SQL Toolbelt license
Drift Detection Built-in — runs on every deployment On-demand comparison in the GUI or CLI
Failed Deployment Recovery Checkpoint & resume (--ResumeQuench); skips completed work on retry Re-run; partial-state cleanup is the deployer’s responsibility
Conditional Deployment ShouldApplyExpression — one file applies per database, env, or version Filter rules and project options
SQL Server Availability Groups Target:SecondaryServers — primary plus secondaries quenched in parallel Apply per server; orchestration is the deployer’s problem
Licensing Free under SSCL v2.0 (source-available); unlimited seats Commercial, per-user with tiered bands; 14-day trial

Production-resilience features, free

Checkpoint & resume, two-pass FK-aware data delivery, ShouldApplyExpression, secondary servers for SQL Server Availability Groups, and custom script folders all ship in the free CLI. SQL Compare focuses on the diff-and-apply step; the surrounding orchestration is a separate concern.

Choose SchemaSmith when...

  • You manage SQL Server, PostgreSQL, MySQL, and MariaDB — or expect to expand beyond SQL Server
  • You need declarative reference-data delivery bundled with schema deployment, not a separately-licensed tool
  • You want a self-contained CLI that runs natively on Windows, macOS, Linux, and ARM64
  • You prefer source-control-native JSON template files over a GUI-managed proprietary project format
  • You need built-in drift detection and idempotent CI/CD on every deployment
  • You need to resume a failed deployment without re-running everything that already succeeded
  • You want a license that does not change as the team or footprint grows — free, source-available, no per-seat fees

Choose SQL Compare when...

  • You are SQL Server / Azure SQL only with no plans to expand
  • You prefer a manual, visual diff-and-apply GUI experience
  • Your team works primarily inside SSMS / Visual Studio on Windows and the GUI fits the existing workflow
  • You have established Redgate workflows and want to keep them
  • Reference-data deployment is rare or already handled by a separate tool

Pricing & Licensing

How the two tools differ on cost, license terms, and what an apples-to-apples comparison includes.

Aspect SchemaSmith SQL Compare
License SSCL v2.0 (source-available) Commercial, proprietary
Cost $0/year — free for any purpose, any organization, any scale Per user, per year, with volume bands; 14-day trial; prices published on Redgate's pricing page
Schema Deployment Included in the free CLI Core SQL Compare product
Reference Data Deployment Included — DataDelivery + DataTongs ship in the same CLI Separate — SQL Data Compare is a distinct, separately-licensed product
CI/CD Automation Included — the CLI is the CI/CD step Command-line deployment is a SQL Compare Pro feature; using it in a Redgate Pipeline needs a Flyway Enterprise, Redgate Deploy, or SQL Toolbelt license
Cost as You Scale Stays at $0/year regardless of team size or environment count Per-user license count grows with the team; data deployment adds a second per-user line item

Redgate publishes current SQL Compare editions at red-gate.com/products/sql-compare and its per-user prices on the pricing page; SQL Data Compare is priced separately.

What an apples-to-apples comparison includes

A like-for-like comparison covers schema deployment and reference-data deployment in CI/CD. SchemaSmith bundles both in the free CLI. With Redgate, schema and data are separate products, each licensed per user. As team size grows or reference-data tables get added to the workflow, the SchemaSmith side stays at $0; the Redgate side adds two per-user license axes.

Migrating from SQL Compare

Switching from SQL Compare to SchemaSmith starts with one extraction. Run SchemaTongs once to capture current state as a package of JSON and SQL scripts, and that package becomes your new source of truth.

  1. Extract current state with SchemaTongs. Point it at a representative database and let it capture tables and indexed views as JSON template files, and stored procedures, functions, ordinary views, and triggers as SQL scripts.
  2. Review the captured package. The package becomes the source of truth — commit it to source control alongside the rest of your repo, replacing the proprietary SQL Compare project.
  3. Deploy with SchemaQuench. Future schema changes are edits to the package: a table change is an edit to its JSON, and a stored procedure change is an edit to its SQL script. SchemaQuench generates and applies the DDL on every run, idempotently.

SchemaSmith’s JSON template files are portable and human-readable — no proprietary project format, no per-tool licensing as the team grows.

Pricing and feature data last verified November 2026. Competitor information may change.

Go deeper in the course

Move past point-in-time diffs: extract once, then manage your schema forward as declarative JSON files.

See the forward approach

Shape. Strengthen. Succeed.

Free schema-as-code for SQL Server, PostgreSQL, MySQL, and MariaDB.

The source is on GitHub for anyone to read.

Get Started on GitHub