Is there a good way to find out which user and process owns a given user created temp table in tempdb?
SQL Server 2014 – How to Find Ownership for a Given Temp Table
sql serversql server 2014
Related Question
- Sql-server – Create temporary tables per session in a DB other than tempdb
- Sql-server – Find which objects are using the table column in the given schema
- Sql-server – ownership of users
- Sql-server – SQL Server tempdb on SSD or virtual RAM disc to increase temp-table performance
- Sql-server – Names of temp tables
- SQL Server – Why Truncating Temp Table Frees Tempdb Space Faster
- Sql-server – Contention on tempdb due to high concurrency temp table creation from multiple databases
- How to SELECT FROM Another Session’s Temp Table in SQL Server
Best Answer
You can use this query, courtesy of Paul White: