3 ms·
If you happen to use MS SQL Server, there is ApexSQL Refactor, a plugin to SQL Server Management Studio (https://www.apexsql.com/sql_tools_refactor.aspx https:/
by krylon 10y ago
If you happen to use MS SQL Server, there is ApexSQL Refactor, a plugin to SQL Server Management Studio (https://www.apexsql.com/sql_tools_refactor.aspx https://www.apexsql.com/sql_tools_refactor.aspx).
As the name implies it mainly does stuff other than formatting, but the latter is what I use it for, and I am rather happy with it.
When I write SQL myself, I tend for format it rather scrupulously, but when I have to read SQL written by somebody else, it is very useful.