SQL Server error code
SQL Server error 5004
SQL Server raises error 5004 at severity 16, which marks a problem with the query or data that you can correct.
To use ALTER DATABASE, the database must be in a writable state in which a checkpoint can be executed.
| Msg | 5004 |
|---|---|
| Severity | 16 |
| Group | 5000–5999 |