Is it possible to auto-indent a query in Sql Server Management Studio Express?

Viewed 65667

I mean, something equivalent to Ctrl + K + D from Visual Studio that automatically indents code. Is there something in this sense?

5 Answers

SQL Prompt from Red Gate can do this.

If you just want simple formatting online then the same technology powers FormatSQL.com

Related