• I guess it doesn't work on SQL 2000 (which is what I am using)?

    Sorry, MSSQL 2005 and higher

    Wilfred
    The best things in life are the simple things