Rules of SQL formatting – Nesting and indenting SQL statements
Beautify your SQL code using SQL formatter features
September 19th, 2012 SQL Pretty Printer V3.3.3 is available on Sep 19, 2012. You can download the latest version here: Desktop version: http://www.dpriver.com/dl/sqlpp_desktop_3_3_3.zip Add-In for SSMS: http://www.dpriver.com/dl/ppforssms_3_3_3.zip ...
About SQL Pretty Printer
ssms 18 - Poor mans T-SQL formatting add-in "Format T-SQL Code" option disabled in SQL Server Management Studio v18.5 - Stack Overflow