Hi Guys,
I am wondering, when selecting rows and inserting them into a temp table, is the data actually copied or just referenced?
For example:
SELECT * INTO #Temp FROM SomeTable
If the table is very large, is this going to be a costly operation?
From my tests it seems to execute about as fast as a simple SELECT, but I'd like a better insight about how it actually works.
Cheers.