FIX: You cannot set a SQL Server 2012 or 2014 database to single-user mode if the database is read-only

Applies to: SQL Server 2012 Analysis ServicesSQL Server 2012 Business IntelligenceSQL Server 2012 Developer

Microsoft distributes Microsoft SQL Server 2012 fixes as one downloadable file. Because the fixes are cumulative, each new release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2012 fix release.


Assume that you set a Microsoft SQL Server 2012 or SQL Server 2014 database to read-only mode. When you then try to set it to single-user mode, you may receive the following error message:

Msg 3906, Level 16, State 1, Line 51 Failed to update database "SDP" because the database is read-only.

Msg 5069, Level 16, State 1, Line 51 ALTER DATABASE statement failed.

Cumulative Update information

This issue was first fixed in the following cumulative update of SQL Server.


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.


Learn about the terminology that Microsoft uses to describe software updates.