Skip to main content
DevTools24

Formattatore SQL

Formatta e abbellisci query SQL per migliore leggibilità. Supporta più dialetti SQL.

Formattatore SQL - Dettagli tecnici

SQL ben formattato è più facile da leggere, debuggare e mantenere. Questo formattatore supporta SQL Standard, MySQL, PostgreSQL, SQLite, T-SQL (SQL Server) e PL/SQL (Oracle) con opzioni per case delle keyword e stile indentazione.

Alternativa da riga di comando

# Format SQL using sql-formatter CLI\nnpx sql-formatter --language postgresql query.sql\n\n# Or with npx\necho 'SELECT * FROM users' | npx sql-formatter

Riferimento

Visualizza specifica ufficiale