Folks, is there a tool to format/indent SQL Server queries in query window ?
TIA
Folks, is there a tool to format/indent SQL Server queries in query window ?
TIA
+1 to JackM.
Just add a mention for some other (not free) tools available from Red Gate, depending on exact requirements.
Might be something you'd be interested in.
SQL Enlight can do this.It works with SSMS and Visual Studio. There is also an online beautifier.