2010-06-10 6 views

risposta

3

Le tabelle TempDb Entrate in SystemDatabase.Temp sono memorizzate qui.

Thank You

4

tabelle temporanee viene memorizzato nel database tempdb che è presente nella SystemDatabase o SystemDatabase -> tempdb -> tabelle temporanee

0

Conservare a questo tavolo

SELECT * 
FROM tempdb.sys.tables 

Query di eliminazione :

DECLARE @sql NVARCHAR(MAX) 
SELECT @sql = ISNULL(@sql + ';', '') + 'drop table ' + QUOTENAME(NAME) 
FROM tempdb..sysobjects 
WHERE NAME LIKE '#%' 

EXEC (@sql)