If I have a stored procedure that users are running constantly that creates temp tables and don't clear these temp tables at the end of the stored procedure, do these temp tables continue to exist and use up memory after the execution of the SP?
I tagged SQL Server 2008 because this is the one we are currently using and 2019 is the version we are upgrading to soon. I'm wondering if this question has a different answer in these two versions.