I don\'t want to type all tables\' name to drop all of them. Is it possible with one query?
For me I just do
DECLARE @cnt INT = 0; WHILE @cnt < 10 --Change this if all tables are not dropped with one run BEGIN SET @cnt = @cnt + 1; EXEC sp_MSforeachtable @command1 = "DROP TABLE ?" END