Changing Database compatibility level will be required when you upgrade your database from one version to another and you want to use the latest feature for sql version. For details on compatibility check this earlier post.
For example lets say when you upgrade a database from sql server 2012 to 2014 the compatibility level will be still on 110 .
To change it to the compatibility of SQL 2014 level of 120 below query can be used.
— SQL Server 2014
ALTER DATABASE [WideWorldImporters] SET COMPATIBILITY_LEVEL = 120
GO
For getting the compatibility level for different version please check this post.
Few notes to remember when changing the compatibility of SQL Server.
Check this post.
4,188 total views, 2 views today
The attribute value in Dimension table are going to change slowly over time and they…
To know what is compatibility Level check this post link. You can view the compatibility…
SQL Server Compatibility level will be used to decide how SQL will use it features.…
A view is a virtual table. View will not store any data physically. The data…
Below is the error which I was getting today while deploying the SSIS pacakge for…
Query store is a new powerful feature introduced in SQL 2016 which stores the query…