How to format SQL code in SQL Server Management Studio
Using templates in SQL Server Management Studio - SQL Server Management Studio (SSMS) | Microsoft Learn
SQL Prompt - Visual Studio Marketplace
sql server - Formatting T-SQL in SSMS 2012 - Database Administrators Stack Exchange
tooltip - Are there any additional installation requirements to use Poor Man's T-SQL Formatter in SQL Server Management Studio? Because I am unable to access it - Stack Overflow
Different Options for Query Results in SQL Server Management Studio