We\'re maintaining (and occasionally debugging) a large in-house system. The system has 20+ databases, and a number of servers interfacing to other systems, processing data,
Unwieldy but you can examine the tables pages from an admin logon.
Get object id;
select object_id from tempdb.sys.tables where name like '#mystuff%'
Get a list of allocated pages;
dbcc ind('tempdb',
for each of the PageFID
/ PagePID
(file/page IDs)
dbcc traceon(3604);
dbcc page(tempdb, , , 3) with tableresults
If I create #mystuff
from another session I can see in a dbcc page
view from my own session:
Slot 0 Offset 0x60 Length 18 Slot 0 Column 1 Offset 0xb Length 7 Length (physical) 7 myFieldName MyValue