• There are a bunch of functions available in the Scripts area of the site. You do a search to track them down. Here's the one at the top of the list:http://www.sqlservercentral.com/scripts/Miscellaneous/31913/[/url]

    "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