View Compatibility level of Database

To know what is compatibility Level check this post link.

You can view the compatibility of SQL Server Database in two ways.

  1. From SSMS.

Open SSMS -> Right click on Database -> Click properties -> Click on Options tab.

 

 

Compatibility Level SSMS
Compatibility Level SSMS

       2. By running below SQL you can get the compatibility level of Database :

SELECT name, compatibility_level FROM sys.databases;

Compatibility level SQL
Compatibility level SQL

Check the next post to see how to alter database compatibility level.

 2,447 total views,  2 views today

Add a Comment

Your email address will not be published. Required fields are marked *