• This doesn't work for Standard edition of SQL Server.

    Igor Micev,My blog: www.igormicev.com