New answers tagged


Either way is fine but you should add IF EXISTS. The second method is a single DROP TABLE transaction. The first method is just a DROP TABLE transaction for each table. It's up to you. MySQL 5.7 Documentation says If any tables named in the argument list do not exist, DROP TABLE behavior depends on whether the IF EXISTS clause is given: Without IF EXISTS, ...

Top 50 recent answers are included