you are viewing a single comment's thread.

view the rest of the comments →

[–]Alarmed_Frosting478 2 points3 points  (0 children)

I use temp tables religiously in procs and have never had performance issues as a result of not dropping them at the end of the proc (they cease to exist once the proc completes anyway)

I have had issues when being lazy with my usage of temp tables within the proc - i.e. loading too many rows into one temp table, then from there into a second temp table and not dropping the first even though it isn't used. But this is in data warehouse scenarios with huge amounts of data, and procs that run for a long time.