Reputation: 2147
I know we will have to drop the table manually after using create table, but how about select into #temp ? will it be cleaned up at the end of the the stored proc? thanks
Upvotes: 1
Views: 1664
Reputation: 28789
Better late than never, I suppose. In case other people have trouble finding the documentation:
A local temporary table created in a stored procedure is dropped automatically when the stored procedure is finished.
Upvotes: 5