Skip to content

Commit b237edf

Browse files
authored
Merge pull request #7772 from sivey42/patch-8
Azure SQL Database compat level 160
2 parents 28f2465 + 09c9e23 commit b237edf

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "ALTER DATABASE compatibility level (Transact-SQL)"
33
description: ALTER DATABASE compatibility level (Transact-SQL)
44
author: WilliamDAssafMSFT
55
ms.author: wiassaf
6-
ms.date: 01/26/2022
6+
ms.date: 07/11/2022
77
ms.prod: sql
88
ms.prod_service: "database-engine, sql-database"
99
ms.technology: t-sql
@@ -35,7 +35,7 @@ For more information about the syntax conventions, see [Transact-SQL Syntax Conv
3535

3636
```syntaxsql
3737
ALTER DATABASE database_name
38-
SET COMPATIBILITY_LEVEL = { 150 | 140 | 130 | 120 | 110 | 100 | 90 }
38+
SET COMPATIBILITY_LEVEL = { 160 | 150 | 140 | 130 | 120 | 110 | 100 | 90 }
3939
```
4040

4141
[!INCLUDE[sql-server-tsql-previous-offline-documentation](../../includes/sql-server-tsql-previous-offline-documentation.md)]
@@ -45,7 +45,7 @@ SET COMPATIBILITY_LEVEL = { 150 | 140 | 130 | 120 | 110 | 100 | 90 }
4545
*database_name*
4646
Is the name of the database to be modified.
4747

48-
COMPATIBILITY_LEVEL { 150 \| 140 \| 130 \| 120 \| 110 \| 100 \| 90 \| 80 }
48+
COMPATIBILITY_LEVEL { 160 \| 150 \| 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 (not all versions supports all of the above listed compatibility level):
5050

5151
<a name="supported-dbcompats"></a>
@@ -54,8 +54,8 @@ Is the version of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] with
5454
|-------------|-----------------------------|-------------------------------------|------------------------------------------|
5555
|[!INCLUDE[sql-server-2019](../../includes/sssql19-md.md)]|15|150|150, 140, 130, 120, 110, 100|
5656
|[!INCLUDE[ssSQL17](../../includes/sssql17-md.md)]|14|140|140, 130, 120, 110, 100|
57-
|[!INCLUDE[ssSDSfull](../../includes/sssdsfull-md.md)]|12|150|150, 140, 130, 120, 110, 100|
58-
|[!INCLUDE[ssSDSfull](../../includes/sssdsfull-md.md)] Managed Instance|12|150|150, 140, 130, 120, 110, 100|
57+
|[!INCLUDE[ssSDSfull](../../includes/sssdsfull-md.md)]|12|150|160, 150, 140, 130, 120, 110, 100|
58+
|[!INCLUDE[ssSDSfull](../../includes/sssdsfull-md.md)] Managed Instance|12|150|160, 150, 140, 130, 120, 110, 100|
5959
|[!INCLUDE[sssql16-md](../../includes/sssql16-md.md)]|13|130|130, 120, 110, 100|
6060
|[!INCLUDE[ssSQL14](../../includes/sssql14-md.md)]|12|120|120, 110, 100|
6161
|[!INCLUDE[ssSQL11](../../includes/sssql11-md.md)]|11|110|110, 100, 90|
@@ -105,7 +105,7 @@ SELECT SERVERPROPERTY('ProductVersion');
105105
> [!NOTE]
106106
> Not all features that vary by compatibility level are supported on [!INCLUDE[ssSDSfull](../../includes/sssdsfull-md.md)].
107107
108-
To determine the current compatibility level, query the **compatibility_level** column of [sys.databases](../../relational-databases/system-catalog-views/sys-databases-transact-sql.md).
108+
To determine the current compatibility level, query the `compatibility_level` column of [sys.databases](../../relational-databases/system-catalog-views/sys-databases-transact-sql.md).
109109

110110
```sql
111111
SELECT name, compatibility_level FROM sys.databases;
@@ -467,4 +467,4 @@ For more information on database compatibility levels and related concepts, see
467467
- [Upgrading Databases by using the Query Tuning Assistant](../../relational-databases/performance/upgrade-dbcompat-using-qta.md)
468468
- [CREATE DATABASE](../../t-sql/statements/create-database-transact-sql.md)
469469
- [View or Change the Compatibility Level of a Database](../../relational-databases/databases/view-or-change-the-compatibility-level-of-a-database.md)
470-
- [Query Store hints](../../relational-databases/performance/query-store-hints.md)
470+
- [Query Store hints](../../relational-databases/performance/query-store-hints.md)

0 commit comments

Comments
 (0)