how to drop many databases in the same time

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thyra
    New Member
    • Oct 2014
    • 1

    how to drop many databases in the same time

    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.
    thanks,
  • Luuk
    Recognized Expert Top Contributor
    • Mar 2012
    • 1043

    #2
    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) ?

    Comment

    Working...