ScottPletcher (10/23/2014)
For temp tables, you must also consider:INTO #new_temp_table
rather than just CREATE.
Good point! I try to stop people doing that in production code, but a few get through the net.
If you haven't even tried to resolve your issue, please don't expect the hard-working volunteers here to waste their time providing links to answers which you could easily have found yourself.