• My comment (not that I'm very possessive about it 🙂 ) - I guess there's some sort of bug in the forum around edits.

    http://poorsql.com for T-SQL formatting: free as in speech, free as in beer, free to run in SSMS or on your version control server - free however you want it.