• Please refer to

    http://qa.sqlservercentral.com/scripts/contributions/1127.asp

    Thanks

     

    Prasad Bhogadi
    www.inforaise.com