Folks, is there a tool to format/indent SQL Server queries in query window ?
With Apex SQL Refactor, you can specify your formatting preferences and reformat selected code or the entire window at any time using a keyboard shortcut. There's a free version.
+1 to JackM.
Just add a mention for some other (not free) tools available from Red Gate, depending on exact requirements.
SQL Prompt
SQL Refactor
Might be something you'd be interested in.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With