Skip to content

Commit 5a88d7f

Browse files
authored
Merge pull request #967 from jodebrui/patch-3
Update alter-database-transact-sql-compatibility-level.md
2 parents b0c2a89 + 19cd048 commit 5a88d7f

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

docs/t-sql/statements/alter-database-transact-sql-compatibility-level.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "ALTER DATABASE Compatibility Level (Transact-SQL) | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "12/16/2016"
4+
ms.date: "03/28/2017"
55
ms.prod: "sql-non-specified"
66
ms.reviewer: ""
77
ms.suite: ""
@@ -45,25 +45,25 @@ SET COMPATIBILITY_LEVEL = { 140 | 130 | 120 | 110 | 100 | 90 }
4545
*database_name*
4646
Is the name of the database to be modified.
4747

48-
COMPATIBILITY_LEVEL { 130 | 120 | 110 | 100 | 90 | 80 }
48+
COMPATIBILITY_LEVEL { 140 | 130 | 120 | 110 | 100 | 90 | 80 }
4949
Is the version of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] with which the database is to be made compatible. The following compatibility level values can be configured:
5050

5151
|Product|Database Engine Version|Compatibility Level Designation|Supported Compatibility Level Values|
5252
|-------------|-----------------------------|-------------------------------------|------------------------------------------|
5353
|[!INCLUDE[ssSQLv14_md](../../includes/sssqlv14-md.md)]|14|140|140, 130, 120, 110, 100|
54+
|[!INCLUDE[ssSDSfull](../../includes/sssdsfull-md.md)]|12|130|140, 130, 120, 110, 100|
5455
|[!INCLUDE[ssSQL15](../../includes/sssql15-md.md)]|13|130|130, 120, 110, 100|
55-
|[!INCLUDE[ssSDS](../../includes/sssds-md.md)]|12|120|130, 120, 110, 100|
5656
|[!INCLUDE[ssSQL14](../../includes/sssql14-md.md)]|12|120|120, 110, 100|
5757
|[!INCLUDE[ssSQL11](../../includes/sssql11-md.md)]|11|110|110, 100, 90|
58-
|[!INCLUDE[ssKilimanjaro](../../includes/sskilimanjaro-md.md)]|10.5|105|100, 90, 80|
58+
|[!INCLUDE[ssKilimanjaro](../../includes/sskilimanjaro-md.md)]|10.5|100|100, 90, 80|
5959
|[!INCLUDE[ssKatmai](../../includes/sskatmai-md.md)]|10|100|100, 90, 80|
6060
|SQL Server 2005|9|90|90, 80|
6161
|SQL Server 2000|8|80|80|
6262

6363
> [!NOTE]
6464
> **Azure SQL Database** V12 was released in December 2014. One aspect of that release was that newly created databases had their compatibility level set to 120. In 2015 SQL Database began support for level 130, although the default remained 120.
6565
>
66-
> Starting in **mid-June 2016**, in Azure SQL Database, the default compatibility level will be 130 instead of 120 for **newly created** databases. Existing databases created before mid-June 2016 will not be affected, and will maintain their current compatibility level (100, 110, or 120).
66+
> Starting in **mid-June 2016**, in Azure SQL Database, the default compatibility level are 130 instead of 120 for **newly created** databases. Existing databases created before mid-June 2016 are not affected, and maintain their current compatibility level (100, 110, or 120).
6767
>
6868
> If you want level 130 for your database generally, but you have reason to prefer the level 110 **cardinality estimation** algorithm, see [ALTER DATABASE SCOPED CONFIGURATION (Transact-SQL)](../../t-sql/statements/alter-database-scoped-configuration-transact-sql.md), and in particular its keyword LEGACY_CARDINALITY_ESTIMATION =ON.
6969
>

0 commit comments

Comments
 (0)