Install
4Internet / developer utilities
SQL Dialect Linter
Find dialect-specific SQL issues and review a formatting preview without a database connection.
A practical guide
How to use SQL Dialect Linter
Check SQL against the dialect your database uses, then inspect line-level findings and a formatting preview. SQLFluff reads the supplied query as text. It does not execute SQL, inspect your tables or verify whether a query returns the intended business result.
- Paste one small SQL script and select its dialect by entering a supported name. The MySQL dialect is a starting point for MariaDB syntax, not a guarantee of support for every MariaDB extension.
- Choose Analyze and read each rule, line and column. Resolve parsing errors before treating formatting advice as reliable.
- Compare the preview with your original query. Copy changes only after reviewing semantics and test them separately against a database you control.
Worked example
Illustrative input and expected interpretation. This example is not a live measurement.
Input
select status,count(*) from requests group by status with dialect mysql
What to expect
Spacing and layout findings, plus a preview with separated select targets and consistent spacing. No database rows are read.
What to watch for
- Raw SQL only: Jinja, dbt and Python templates are not evaluated. Inline SQLFluff configuration is rejected and noqa comments do not suppress findings.
- A clean lint report does not establish table existence, privileges, query cost, injection safety or correctness. The engine version and chosen dialect matter.
- At most 100 findings are displayed. Source is limited to 64 KiB and the isolated process has finite CPU, memory and output limits.
Your input: submitted to this server for processing. This tool does not send it to an AI provider. Your input is processed for this request. Temporary processing files are removed afterward. Avoid pasting secrets or personal data.