Set Database Offline

Here is the syntax to set a database to offline:

Additionally, here is the syntax to bring a database online:

When altering the state of any database you will want to run the query on a database that is different then the one your are altering.

Leave a Reply

Your email address will not be published.

HTML tags are not allowed.