SQL Server compatibility level indicates what version of SQL Server a database is compatible with. This is important because it determines which features are available to the database and which T-SQL syntax can be used. For example, a database with a compatibility level of SQL Server 2012 will be able to use features introduced in SQL Server 2012, but not features introduced in SQL Server 2014. To change the compatibility level of a database, use the ALTER DATABASE command.