• Has anyone tested to see if doing the XML thing is more or less costly than using a temporary table?

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service