In this blog post, let’s learn about the error message “1959 – 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.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.
SQL Server Error Message
1959 – 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.
Reason for the Error
To be update soon…
Solution
To be update soon…