Andy Dufresne
2013-09-09 09:21:07 UTC
From my understanding, the following query creates a temporary table in MSSQL 2008 R2:
select col_x, col_y, col_z
into #temp
from sometable
but what happens to that #temp table after I'm done with the query? Does it stay in the database indefinately until it's manually removed? Do I have to do something to clean it up?
select col_x, col_y, col_z
into #temp
from sometable
but what happens to that #temp table after I'm done with the query? Does it stay in the database indefinately until it's manually removed? Do I have to do something to clean it up?