• I use a free plug in for SSMS... http://www.tsqltidy.com/ It works pretty good.