Do you know that you can drop multiple tables using a sing DROP statement?
Assume that in your code or procedure you use many temporary tables and at the end you want to drop all of them. One method is to drop them one by one
Assume the following temporary tables
create table #t1(id int); create table #t2(id int); create table #t3(id int);
Usual method of dropping them is
drop table #t1 drop table #t1 drop table #t1
However, simply you can use single DROP statement with each table names seperated by comma
drop table #t1,#t2,#t3
How many of you know this?