top of page

How to Drop All Databases of instance?

I needed to delete all the databases on Instance, therefore I wrote my favorite Cursor. In this case it is a very simple cursor. To delete the database we use DROP DATABASE < name of DB > statement.

You can use this Script below:

See you later!

RECENT POST
bottom of page