SQL Server error code
SQL Server error 1959
SQL Server raises error 1959 at severity 16, which marks a problem with the query or data that you can correct.
Cannot create an index on a view or computed column because the compatibility level of this database is less than 80. Use sp_dbcmptlevel to raise the compatibility level of the database.
| Msg | 1959 |
|---|---|
| Severity | 16 |
| Group | 1000–1999 |