• This script here probably answers your question:

    http://www.mssqltips.com/tip.asp?tip=1601

    Gethyn Elliswww.gethynellis.com