SQLCheck
github.com
What it is
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.
Spec sheet
- Purpose
- SQLCheck automatically detects common SQL anti-patterns that can slow queries.Read 8 Oct 2026 · github.com
- Integrations
- The maker pages opened describe a standalone command-line utility and do not state integrations with other products.Read 8 Oct 2026 · github.com
- Support
- The project invites users to open issues, submit pull requests, and improve its documentation.Read 8 Oct 2026 · github.com
- License
- The repository says SQLCheck is licensed under the Apache License.Read 7 Oct 2026 · github.com
- Maker
- The GitHub profile identifies jarulraj as Joy Arulraj, an Associate Professor at Georgia Tech in Atlanta.Read 7 Oct 2026 · github.com
- Build requirements
- Building from source requires g++ 4.9+ and CMake, and the repository should be cloned with its recursive option.Read 8 Oct 2026 · github.com
- Contributions and help
- The README welcomes contributions through issues, pull requests, and documentation improvements.Read 7 Oct 2026 · github.com
- Detection categories
- It groups detected anti-patterns into logical database design, physical database design, query, and application development categories.Read 7 Oct 2026 · github.com
- Detection coverage
- It lists anti-patterns in logical database design, physical database design, queries, and application development.Read 8 Oct 2026 · github.com
- Downloads
- The README lists Debian, RPM, macOS DMG, Windows EXE, and ZIP downloads.Read 7 Oct 2026 · github.com
- Input
- The command line accepts a SQL file name for analysis.Read 7 Oct 2026 · github.com
- Input and output
- The command-line tool accepts a file name and offers color and verbose modes.Read 8 Oct 2026 · github.com
- macOS and Linux
- The README provides macOS DMG and Debian, RPM, and ZIP packages, with source-build instructions as well.Read 8 Oct 2026 · github.com
- Notable limitation
- The README documents file-based command-line use; it does not describe a hosted service, graphical interface, API, or mobile app.Read 8 Oct 2026 · github.com
- Output options
- The command line provides color and verbose modes.Read 7 Oct 2026 · github.com
- Release features
- The v1.3 release lists line numbers and exit status 1 when anti-patterns are found.Read 8 Oct 2026 · github.com
- Risk levels
- The command-line option supports checking all anti-patterns, medium and high risk only, or high risk only.Read 8 Oct 2026 · github.com
- Security and compliance
- The repository identifies its license as Apache-2.0 and does not state security certifications or compliance claims.Read 8 Oct 2026 · github.com
- SQL dialects
- The project says it targets all major SQL dialects.Read 8 Oct 2026 · github.com
- Windows
- The README provides a Windows executable download and says to run it from a terminal such as cmd.exe.Read 8 Oct 2026 · github.com
Plans and prices
Strong points and limits
Strong points
- Free command-line utility.
- Choose all, medium/high-risk, or high-risk checks.
- Color and verbose output modes are available.
- Supports five named SQL dialects.
- v1.3 results include line numbers.
Limits
- Findings are not automatically fixed.
- No editor extensions are listed.
- No configuration file is listed.
- Documented use is file-based and command-line.
Who it suits
SQLCheck suits developers and database practitioners who want a command-line review of SQL files and can address findings themselves. It is a fit for users of the listed desktop platforms and SQL dialects.
SQLCheck in depth
Read the full write-up
SQLCheck scans SQL files for common anti-patterns and is best suited to developers who want a focused command-line check across several database dialects. Its risk filters help prioritize findings, but it is not an editor or a tool that fixes SQL for you.
Overview
The scanner groups anti-patterns across logical and physical database design, queries, and application development. That range can help surface concerns beyond query construction, while its file-based workflow keeps the job narrow: provide a SQL file and inspect the findings.
SQLCheck targets major SQL dialects, including Microsoft SQL Server, MySQL, Oracle, PostgreSQL, and SQLite3. The project is Apache-2.0 licensed and welcomes contributions through issues, pull requests, and documentation improvements.
Key features
Risk selection: Choose all anti-patterns, medium- and high-risk patterns, or high-risk patterns only. This is useful for prioritizing a scan, though the selected risk band does not determine whether a finding matters in a particular application.
File-based command line: Pass a SQL file name for analysis. Version 1.3 adds line numbers and returns status code 1 when findings are detected, which helps locate issues and lets scripts respond to a scan result.
Output modes: Color and verbose modes give terminal users options for how findings appear. There are no automatic fixes, so resolving issues remains a separate step.
Pricing
SQLCheck: free. The open-source command-line tool has no paid tiers or usage limits stated. That makes it a straightforward fit for individual developers and teams seeking a no-cost scanner; there is no higher tier with additional capabilities described.
Platforms
SQLCheck runs on Linux, macOS, and Windows. Downloads include Debian and RPM packages, a macOS DMG, a Windows EXE, and ZIP archives. Windows users run the executable from a terminal such as cmd.exe; building from source requires g++ 4.9+ and CMake.
Who it's for
SQLCheck suits developers who already work with SQL files in a terminal and want to check for anti-patterns across common database dialects. Its risk filters and status code can help focus manual review or incorporate checks into scripts. It is not the right choice for users who need a graphical interface, editor extension, API, hosted service, mobile app, or automatic fixes.
Pros and cons
Pro: Broad categories and dialect coverage. Checks span design, query, and application-development concerns, with five named dialects including PostgreSQL, MySQL, and SQL Server.
Pro: Actionable scan signals. Risk selection, line numbers, and a nonzero status when findings appear help users focus and locate results.
Con: Terminal and file workflow only. The tool analyzes SQL files rather than offering an editor, graphical interface, or hosted workflow.
Con: No automatic remediation. Findings must be assessed and resolved outside SQLCheck.
Alternatives
For a broader set of SQL tools, start with SQL Linters and Formatters.
Squawk is worth considering if its broad platform range—including API, extension, web, and self-hosted options—better matches your workflow.
Choose sqlfmt when formatting is the goal: its free browser formatter runs through WebAssembly without installation.
Poor SQL may suit T-SQL formatting needs, with online and offline formatting and SSMS/Visual Studio plugins in its free plan.
Sqruff is another free option if its extension, web, or self-hosted platform choices fit better.
TSQLLint is a free alternative installable with dotnet-tool, Homebrew, or NPM.
JSQLFormatter is a free option if its Linux, macOS, Windows, or self-hosted availability suits your setup.
Sleek is another free choice, with extension and self-hosted options alongside desktop platforms.
Consider SQL Formatter for formatting through a library or browser demo.
Verdict
Choose SQLCheck if you want a free, cross-platform command-line scan that sorts SQL anti-patterns by risk and can report findings with line numbers and a script-readable status. Look elsewhere if your workflow depends on editing assistance, automatic fixes, or a graphical or hosted interface.
Verdict
SQLCheck provides risk-selectable anti-pattern detection for SQL files at no listed charge. Readers should expect to investigate and resolve findings outside the tool.
Where Specifiction places it
- SQL Linters and Formatters#7 of 268.2