Yes, Table Variables and Temp Tables both use the tempdb
Pinal Dave recently wrote a blog post called SQL SERVER – Difference TempTable and Table Variable – TempTable in Memory a Myth...
2009-12-18
2,207 reads
Pinal Dave recently wrote a blog post called SQL SERVER – Difference TempTable and Table Variable – TempTable in Memory a Myth...
2009-12-18
2,207 reads
What are some of the things that you need to do before you sign off and hand it over to production? What do you need to do to keep the server running smoothly?
2008-11-26
7,442 reads
Do you avoid certain SQL functionality because you have been told you should NEVER use it?
2008-08-12
433 reads
This is a follow up to the article "Return Query Text Along With sp_who2 Using Dynamic Management Views".
2008-07-18
8,324 reads
This article describes how to generate the sp_who2 results including the query text for the spid.
2008-06-26
23,230 reads
This article describes how to use variables in SSIS to dynamically generate folders and file placement.
2008-06-17
17,948 reads
Save time when copying data from SSMS to Excel by configuring the options to Include Column Headers.
2008-06-13
3,355 reads
Reduce your recovery time and minimize the chance for error by resolving all logins in one script.
2008-06-03
15,610 reads
By ReviewMyDB
Part 2 of my What's New in SQL Server for the Developer series. STRING_SPLIT,...
Note: This is more of a note to myself than an attempt to preach...
A practical guide to building an AI Center of Excellence, from choosing the right...
Hub/Wa. 0817-819-444 Menara BCA, Grand Indonesia, Jl. M.H. Thamrin No.1 Lt. 28, RT.1/RW.5, Menteng,...
Hub/Wa. 0817-819-444 Jl. Panjang Jl. Panjang Arteri Klp. Dua Raya No.11, RT.1/RW.3, Klp. Dua,...
Comments posted to this topic are about the item Black Friday Gadgets
I run these queries:
SELECT COUNT(*) FROM dbo.Beer SELECT COUNT(*) FROM etl.beerI get 25 as the result for dbo.beer and 1 for the result for etl.beer. Both tables have identical sructures and both of these are nonpartitioned tables. I run this code:
ALTER TABLE dbo.beer switch TO etl.beer go SELECT COUNT(*) FROM dbo.Beer SELECT COUNT(*) FROM etl.beerWhat happens? See possible answers