Skip to content
SQL Tools

Documentation

How SQL Tools detects dialects, translates queries and reports issues.

How translation works

SQL Tools parses your query with SQLGlot using the source dialect, builds a syntax tree, and generates SQL for the target dialect. The output is then re-parsed for the target engine and checked against a list of constructs known to be unsupported there.

Conversion statuses

"Conversion successful" means no issue was detected. "Completed with warnings" means the output contains changes or constructs that need review — incompatible items will not run as-is. "Conversion failed" means the query could not be parsed with the selected source dialect.

Dialect detection

Detection looks for syntactic fingerprints such as TOP, NVL, QUALIFY, AUTO_INCREMENT or ILIKE. Standard SQL that runs everywhere is reported as Unknown on purpose — select the source engine manually in that case.

MariaDB

MariaDB is handled through MySQL-compatible syntax. Most queries are compatible, but MariaDB-only features should be reviewed.

Limits

Queries are limited in size and requests are rate-limited to keep the service fast and free. Stored procedures and procedural blocks (PL/SQL, T-SQL batches with control flow) may only be partially supported.

API

A REST API is available under /api (see /api/docs). It never stores or executes SQL.