Skip to content

Instantly share code, notes, and snippets.

@osya
Created December 13, 2014 17:18
Show Gist options
  • Save osya/08535082e56c2aed7dee to your computer and use it in GitHub Desktop.
Save osya/08535082e56c2aed7dee to your computer and use it in GitHub Desktop.
Set database offline #SQL
ALTER DATABASE <dbname> SET OFFLINE WITH ROLLBACK IMMEDIATE
URL: http://stackoverflow.com/questions/808232/extreme-wait-time-when-taking-a-sql-server-database-offline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment