Hi,
Technically once the session of procedure or other adhic query session is closed the temp table which is created in tempdb is supposed to be removed. But I see 1000+ temp tables.
If I try to clean them, getting the error.
Msg 3701, Level 11, State 5, Line 38
Cannot drop the table '#A0163670', because it does not exist or you do not have permission.