Skip to content
SPECIFICTION
Get listed

SQLCheck vs Squawk

SQLCheck

github.com

Squawk

squawkhq.com

Side by side

FigureSQLCheckSquawk
Price fromFree—
Free planYes—
Free trial——
Open source——
Web—Yes
WindowsYesYes
macOSYesYes
LinuxYesYes
iOS—Yes
Android—Yes
API—Yes
Self-hosted—Yes
Plans published10
Spec score · SQL Linters and Formatters8.2 (#7)7.3 (#22)
PurposeSQLCheck automatically detects common SQL anti-patterns that can slow queries.It checks schema changes to help prevent blocking reads or writes and breaking existing clients.
Security and complianceThe repository identifies its license as Apache-2.0 and does not state security certifications or compliance claims.The pages opened provide no security or compliance commitments.
SupportThe project invites users to open issues, submit pull requests, and improve its documentation.The site links to GitHub Help and directs users to open an issue if a rule, message, or documentation page needs improvement.

Plans

SQLCheck

  • SQLCheckFree

SQLCheck pricing →

Squawk

No plans published.

Squawk pricing →

In their own words

SQLCheck

SQLCheck is a free command-line utility that scans SQL files for common anti-patterns associated with slow queries. It groups findings into logical database design, physical database design, query, and application development categories. Users can choose to check all patterns, medium- and high-risk patterns, or only high-risk patterns. The command line accepts a SQL file name and offers color and verbose output modes. The project identifies Microsoft SQL Server, MySQL, Oracle, PostgreSQL, and SQLite3 as supported dialects, and says it targets all major SQL dialects. Downloads are listed for Debian, RPM, macOS DMG, Windows EXE, and ZIP. Release notes for v1.3 list line numbers and a status code of 1 when anti-patterns are found. SQLCheck does not automatically fix findings and has no editor extensions or configuration file. Source-build instructions name g++ 4.9 or later and CMake. The repository identifies the license as Apache-2.0 and welcomes issues, pull requests, and documentation contributions.

Visit github.com

Squawk

Squawk is an open-source linter and language server for PostgreSQL migrations and SQL. It checks schema changes for risks that could prevent database reads or writes. Its rules flag potentially unsafe statements, incompatible changes, and migration patterns, with messages that include examples and reasoning. The command-line tool lints SQL files, and a language server and VS Code extension provide editor linting.

For pull requests, a GitHub Action can lint modified migrations; Squawk can also comment through its upload-to-github command or GitHub App. For CI outside GitHub Actions, the documentation recommends configuring the GitHub App, citing CircleCI as an example. Installation options include npm, PyPI, release binaries, Docker, the browser playground, and VS Code. The playground uses WebAssembly to lint SQL in a browser. Configuration can set the PostgreSQL version, include or exclude rules and paths, and specify whether SQL files are assumed to run in transactions. Some rules are disabled by default and require explicit enabling. Squawk supports PostgreSQL only and has no automatic fixes or custom rules.

Visit squawkhq.com