By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,264 Members | 1,056 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,264 IT Pros & Developers. It's quick & easy.

how to drop many databases in the same time

P: 1
dear all,
i have problem in drop database. i have many database and i don't know how to write Query to drop many databases in one statement.i can only drop one by one.
Oct 9 '14 #1
Share this Question
Share on Google+
1 Reply

Expert 100+
P: 1,035
There is no way to write s Query to do a drop database.

this is because a DROP DATABASE is a DDL, and not a DML

BTW: do you really mean DROP DATABASE?, of are you talking about DROP TABLE (which is also DDL) ?
Oct 11 '14 #2

Post your reply

Sign in to post your reply or Sign up for a free account.