To view the current compatibility level of a database, query the compatibility_level column in the sys.databases catalog view. A distribution database that was created in an earlier version of SQL Server and is upgraded to SQL Server 2016 (13.x) RTM or Service Pack 1 has a compatibility level of 90, which is not supported for other databases.