Don't use temp table -- out of shared memory problems.