join the MSSQLTips community

MSSQLTips.com - your daily source for SQL Server tips

Google
 
Web mssqltips.com

 
force mirrored database offline - MSSQLTips

MSSQLTips

MSSQLTips.com - your daily source for SQL Server tips
Welcome to MSSQLTips Sign in | Join | Help
in Search

force mirrored database offline

Last post 02-02-2010 10:09 PM by wattsamp. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 02-02-2010 10:09 PM

    force mirrored database offline

     I'm working on a database mirroring solution for Sharepoint 2007. I'm actually looking over this case study http://go.microsoft.com/fwlink/?LinkID=117905&clcid=0x409.  On page 10 of this document it states in the Disaster recovery test section that a single database was forced offline. So I would like to ask how do you force a single database offline that is part of a mirroring sessions.  If you run alter database {DATABASE name} set offline you will recieve the below error. 

    The operation cannot be performed on database "testmove" because it is involved in a database mirroring session.
    Msg 5069, Level 16, State 1, Line 1
    ALTER DATABASE statement failed.

Page 1 of 1 (1 items)