|
1 | 1 | --- |
2 | 2 | title: "ALTER DATABASE Compatibility Level (Transact-SQL) | Microsoft Docs" |
3 | 3 | ms.custom: "" |
4 | | -ms.date: "08/27/2019" |
| 4 | +ms.date: "11/12/2019" |
5 | 5 | ms.prod: sql |
6 | 6 | ms.prod_service: "database-engine, sql-database" |
7 | 7 | ms.reviewer: "" |
@@ -81,7 +81,7 @@ To view the current compatibility level of a database, query the **compatibility |
81 | 81 | > A [distribution database](../../relational-databases/replication/distribution-database.md) that was created in an earlier version of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] and is upgraded to [!INCLUDE[ssSQL15](../../includes/sssql15-md.md)] RTM or Service Pack 1 has a compatibility level of 90, which is not supported for other databases. This does not have an impact on the functionality of replication. Upgrading to later service packs and versions of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] will result in the compatibility level of the distribution database to be increased to match that of the **master** database. |
82 | 82 |
|
83 | 83 | > [!NOTE] |
84 | | -> As of **January 2018**, in [!INCLUDE[ssSDSfull](../../includes/sssdsfull-md.md)], the default compatibility level is 140 for newly created databases. [!INCLUDE[msCoName](../../includes/msconame-md.md)] does not update Database Compatibility Level for existing databases. It is up to customers to do at their own discretion. |
| 84 | +> As of **November 2019**, in [!INCLUDE[ssSDSfull](../../includes/sssdsfull-md.md)], the default compatibility level is 150 for newly created databases. [!INCLUDE[msCoName](../../includes/msconame-md.md)] does not update Database Compatibility Level for existing databases. It is up to customers to do at their own discretion. |
85 | 85 | > [!INCLUDE[msCoName](../../includes/msconame-md.md)] highly recommends that customers plan to upgrade to the latest compatibility level in order to leverage the latest query optimization improvements. |
86 | 86 |
|
87 | 87 | To leverage Database Compatibility Level 120 or higher for a database overall, but opt-in to the [**cardinality estimation**](../../relational-databases/performance/cardinality-estimation-sql-server.md) model of [!INCLUDE[ssSQL11](../../includes/sssql11-md.md)], which maps to Database Compatibility Level 110, see [ALTER DATABASE SCOPED CONFIGURATION](../../t-sql/statements/alter-database-scoped-configuration-transact-sql.md), and in particular its keyword `LEGACY_CARDINALITY_ESTIMATION = ON`. |
@@ -196,8 +196,6 @@ The fundamental plan-affecting changes added only to the default compatibility l |
196 | 196 | ## Differences between Compatibility Level 140 and Level 150 |
197 | 197 | This section describes new behaviors introduced with compatibility level 150. |
198 | 198 |
|
199 | | -Database Compatibility Level 150 is currently in Public Preview for [!INCLUDE[ssSDSfull](../../includes/sssdsfull-md.md)] and [!INCLUDE[sql-server-2019](../../includes/sssqlv15-md.md)]. This Database Compatibility Level will be associated with the next generation of query processing improvements beyond what was introduced in Database Compatibility Level 140. |
200 | | - |
201 | 199 | |Compatibility level setting of 140 or lower|Compatibility level setting of 150| |
202 | 200 | |--------------------------------------------------|-----------------------------------------| |
203 | 201 | |Relational data warehouse and analytic workloads may not be able to leverage columnstore indexes due to OLTP-overhead, lack of vendor support or other limitations. Without columnstore indexes, these workloads cannot benefit from batch execution mode.|Batch execution mode is now available for analytic workloads without requiring columnstore indexes. For more information, see [batch mode on rowstore.](../../relational-databases/performance/intelligent-query-processing.md#batch-mode-on-rowstore)| |
|
0 commit comments