• ChrisM@Work (1/24/2014)


    IgorMi, you can use http://extras.sqlservercentral.com/prettifier/prettifier.aspx.

    I tend not to. If I'm about to spend a few minutes reading and understanding a chunk of code, reformatting it easily becomes part of the process.

    Another option is SQL Prompt from Red Gate[/url]. Can't live without that tool.

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning