In-Place Upgrade of SQL Server with Read Only databases
When performing an upgrade of SQL Server 2008 to SQL Server 2012, there is a bug which will cause Read Only databases to come online in “Pending Recovery” mode. The premise behind this is that when you upgrade SQL it has to ramp up the bits of the databases and if the database is in Read Only mode it cannot be written to, even the system tables. The bug makes these databases go into “Pending Recovery” mode. Microsoft says this is fixed in CU2 for SQL Server 2012. My recommendation is to make your database read/write, take access away from that database before starting to upgrade, then changing them back to Read Only.
The details of this bug can be found at http://support.microsoft.com/kb/2710782
You will see messages similar to below in the SQL Error Log
Message
During upgrade, database raised exception 3415, severity 16, state 1, address 000007FEEF7CA01A. Use the exception number to determine the cause
Message
Database ‘DBName’ cannot be upgraded because it is read-only, has read-only files or the user does not have permissions to modify some of the files. Make the database or files writeable, and rerun recovery.
If you try to bring it online manually you will get the following error
1: ALTER DATABASE DBName set online
Converting database ‘DBName’ from version 661 to the current version 706.
Msg 3415, Level 16, State 1, Line 1
Database ‘DBName’ cannot be upgraded because it is read-only, has read-only files or the user does not have permissions to modify some of the files. Make the database or files writeable, and rerun recovery.
Msg 5069, Level 16, State 1, Line 1
ALTER DATABASE statement failed.
Hello, i would like to ask that what is the benefits of sql training, what all topics should be covered and it is kinda bothering me … and has anyone studies from this course http://www.wiziq.com/course/125-comprehensive-introduction-to-sql of SQL tutorial online?? or tell me any other guidance…
would really appreciate help… and Also i would like to thank for all the information you are providing on sql training.