Format SQL
See original GitHub issueSystem information:
- Operating system (distribution) and version
macOS 10.14.4 (18E226)
- DBeaver version
6.0.2
- Java version
1.8.0_121
- Additional extensions
No
Connection specification:
- Database name and version
PostgreSQL 11
- Driver name
PostgreSQL
42.2.5
- Do you use tunnels or proxies (SSH, SOCKS, etc)?
No
Describe the problem you’re observing:
When I run Format SQL
,get the wrong result
befor
SELECT column_1,
column_2
FROM table;
after
SELECT
column_1,;
column_2;
FROM
TABLE;
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Format SQL Statements Online - sqlformat.org
SQLFormat is a free online formatter for SQL statements. Enter your SQL statement in the textarea below and click "Format SQL" [Ctrl+Enter].
Read more >Instant SQL Formatter
Free online sql formatting tool, beautify sql code instantly for SQL Server, Oracle, DB2, MySQL, Sybase, Access and MDX.
Read more >SQL Server FORMAT() Function - W3Schools
The FORMAT() function formats a value with the specified format (and an optional culture in SQL Server 2017). Use the FORMAT() function to...
Read more >Format SQL Server Queries Easily - Online SQL Formatter ...
Free online SQL Formatter for SQL Server - Beautify SQL statements instantly and convert code into well formatted script. Powered by Devart's SQL...
Read more >Free Online SQL Formatter - Redgate Software
Format your own SQL code using this free online formatter. Try formatting your SQL code with a few pre-defined styles. ... This SQL...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the same issue since 6.0.2 with Kubuntu 18.10 and OpenJDK 1.8.0_191. Each line-break becomes a semicolon (mysql and informix) or “GO” (mssql).
It’s works fine again if I disable the option “Insert delimiters in empty lines”: File -> Settings -> database -> Editors -> SQL-Editor -> SQL-Format -> “Default formatter”.
verified