Working in SQL-Server for the past decade, I often wondered how to standardize the formatting of T-SQL.
Everywhere you go, people have certain 'Styles'.
Upper case this, lower case this, indent here, etc.
I have finally found a great online utility to 'Auto Format'.
I've been using this link for a few weeks now and I love it.
Just pop your code in there, wait a few seconds, copy to clipboard and paste in T-SQL editor.
Good to go!
Amendum 8/31/2012 - this one actually works: