• I don't think it can be done in SQL Server.

    -- Gianluca Sartori