• chetanr.jain - have tested on sql 2005 through 2008.

    can you be more specific on the error?

    SQL_Quest-825434 - no reason, i'm sure temp tables will do equally well.