• Okay but where does the numbering at the end of the underscores correspond to the spid that created it?

    Hypothetically, lets say I wanted to see what spid owned each copy of a local temp table. How would I do that? Also does it work for a global temp table.