You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: azure-sql/managed-instance/doc-changes-updates-release-notes-whats-new.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ description: Learn about the new features and documentation improvements for Azu
5
5
author: MashaMSFT
6
6
ms.author: mathoma
7
7
ms.reviewer: wiassaf, mathoma
8
-
ms.date: 08/13/2024
8
+
ms.date: 08/20/2024
9
9
ms.service: azure-sql-managed-instance
10
10
ms.subservice: service-overview
11
11
ms.topic: whats-new
@@ -40,6 +40,8 @@ The following table lists the features of Azure SQL Managed Instance that are cu
40
40
|[Fail over a link with T-SQL](managed-instance-link-failover-how-to.md?tabs=tsql#fail-over-a-database)| You can now fail over a [managed instance link](managed-instance-link-feature-overview.md) by using Transact-SQL (T-SQL) commands. |
41
41
|[Free SQL Managed Instance](free-offer.md)| Try Azure SQL Managed Instance for free, for the first 12 months after you create your instance. |
42
42
|[Instance pools](instance-pools-overview.md)| Share resources between multiple instances in a pool within a single virtual machine. A convenient and cost-efficient way to migrate smaller SQL Server instances to the cloud, and the only way to deploy a 2-vCore managed instance. |
43
+
|[JSON native data type](/sql/t-sql/data-types/json-data-type)| The new **JSON** native data type is currently in preview. For more information, see [JSON Type and aggregates preview](https://aka.ms/json-type-aggregates-public-preview). Your SQL managed instance must be configured with the [Always-up-to-date update policy](update-policy.md#always-up-to-date-update-policy).|
44
+
|[JSON aggregate functions](/sql/relational-databases/json/json-data-sql-server#json-data-from-aggregates)| Two new **JSON** aggregate functions `JSON_OBJECTAGG` and `JSON_ARRAYAGG` enable construction of JSON objects or arrays based on an aggregate from SQL data. Your SQL managed instance must be configured with the [Always-up-to-date update policy](update-policy.md#always-up-to-date-update-policy). For more information, see [JSON Type and aggregates preview](https://aka.ms/json-type-aggregates-public-preview). |
43
45
|[Link from SQL MI to SQL Server](managed-instance-link-feature-overview.md)| Configure a link *from* Azure SQL Managed Instance to SQL Server 2022. |
44
46
|[Microsoft Entra nonunique name support](../database/authentication-microsoft-entra-create-users-with-nonunique-names.md)| The [CREATE USER](/sql/t-sql/statements/create-user-transact-sql) Transact-SQL (T-SQL) syntax has been extended to include `WITH OBJECT_ID` to support creating Microsoft Entra logins and users in Azure SQL Managed Instance that have nonunique names. |
45
47
|[Native Windows principals](native-windows-principals.md)| Use the new **Windows** authentication metadata mode to allow Windows authentication or Microsoft Entra authentication (using a Windows principal metadata) with Azure SQL Managed Instance. |
@@ -105,6 +107,8 @@ Learn about significant changes to the Azure SQL Managed Instance documentation.
105
107
106
108
| Changes | Details |
107
109
| --- | --- |
110
+
|**JSON native data type preview**| The new [**JSON** native data type](/sql/t-sql/data-types/json-data-type) and is currently in preview. For more information, see [JSON Type and aggregates preview](https://aka.ms/json-type-aggregates-public-preview). Your SQL managed instance must be configured with the [Always-up-to-date update policy](update-policy.md#always-up-to-date-update-policy).|
111
+
|**JSON aggregate functions preview**| Two new **JSON** aggregate functions [JSON_OBJECTAGG and JSON_ARRAYAGG](/sql/relational-databases/json/json-data-sql-server#json-data-from-aggregates) enable construction of JSON objects or arrays based on an aggregate from SQL data. For more information, see [JSON Type and aggregates preview](https://aka.ms/json-type-aggregates-public-preview). Your SQL managed instance must be configured with the [the Always-up-to-date update policy](update-policy.md#always-up-to-date-update-policy).|
108
112
|**Fail over link with T-SQL preview**| You can now fail over a [managed instance link](managed-instance-link-feature-overview.md) by using Transact-SQL (T-SQL) commands. This capability is currently in preview starting with [SQL Server 2022 CU13 (KB5036432)](/troubleshoot/sql/releases/sqlserver-2022/cumulativeupdate13). To learn more, review [fail over a database](managed-instance-link-failover-how-to.md?tabs=tsql#fail-over-a-database). |
Copy file name to clipboardExpand all lines: azure-sql/managed-instance/update-policy.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ description: Use the update policy setting in Azure SQL Managed Instance to cont
5
5
author: MladjoA
6
6
ms.author: mlandzic
7
7
ms.reviewer: mathoma
8
-
ms.date: 05/22/2024
8
+
ms.date: 08/20/2024
9
9
ms.service: azure-sql-managed-instance
10
10
ms.subservice: deployment-configuration
11
11
ms.topic: how-to
@@ -57,9 +57,9 @@ When using the **Always-up-to-date** update policy, consider the following:
57
57
The following table lists all the features that are only available to instances with the designated update policy:
58
58
59
59
60
-
|**SQL Server 2022** update policy |**Always-up-to-date** update policy |
60
+
|SQL Server 2022 update policy |Always-up-to-date update policy |
61
61
|---------|---------|
62
-
|[Restore database to SQL Server 2022](restore-database-to-sql-server.md) <br /> [Link with bidirectional failover and disaster recovery](managed-instance-link-disaster-recovery.md)|While currently, there aren't any features that are only available to instances with the **Always-up-to-date** update policy, check back soon.|
62
+
|- [Restore database to SQL Server 2022](restore-database-to-sql-server.md) <br /> - [Link with bidirectional failover and disaster recovery](managed-instance-link-disaster-recovery.md)|[JSON data type](/sql/t-sql/data-types/json-data-type)|
63
63
64
64
65
65
The following features are impacted by the configured update policy:
You can optimize your queries over JSON documents using standard indexes. SQL Server does not have custom JSON indexes.
21
21
22
22
- Currently, in SQL Server **json** is not a built-in data type.
23
-
-Currently, the [JSON data type](../../t-sql/data-types/json-data-type.md) is available in Azure SQL Database.
23
+
-The [JSON data type](../../t-sql/data-types/json-data-type.md) is currently in preview for Azure SQL Database and Azure SQL Managed Instance (configured with the [**Always-up-to-date** update policy](/azure/azure-sql/managed-instance/update-policy#always-up-to-date-update-policy)).
24
24
25
25
Indexes work the same way on JSON data in **varchar**/**nvarchar** or the [native **json** data type](../../t-sql/data-types/json-data-type.md).
Copy file name to clipboardExpand all lines: docs/relational-databases/json/json-data-sql-server.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Combine NoSQL and relational concepts in the same database with JSO
4
4
author: WilliamDAssafMSFT
5
5
ms.author: wiassaf
6
6
ms.reviewer: randolphwest, jovanpop
7
-
ms.date: 05/21/2024
7
+
ms.date: 08/20/2024
8
8
ms.service: sql
9
9
ms.topic: quickstart
10
10
ms.custom:
@@ -64,7 +64,7 @@ The new **json** data type that stores JSON documents in a native binary format
64
64
- No change in compatibility with existing code
65
65
66
66
> [!NOTE]
67
-
> - Currently, the [JSON data type](../../t-sql/data-types/json-data-type.md) is available in Azure SQL Database.
67
+
> The [JSON data type](../../t-sql/data-types/json-data-type.md) is currently in preview for Azure SQL Database and Azure SQL Managed Instance (configured with the [**Always-up-to-date** update policy](/azure/azure-sql/managed-instance/update-policy#always-up-to-date-update-policy)).
68
68
69
69
Using the JSON same functions described in this article remain the most efficient way to query the **json** data type. For more information on the native **json** data type, see [JSON data type](../../t-sql/data-types/json-data-type.md).
70
70
@@ -256,7 +256,7 @@ JSON aggregate functions enable construction of JSON objects or arrays based on
256
256
-[JSON_ARRAYAGG](../../t-sql/functions/json-arrayagg-transact-sql.md) constructs a JSON **array** from an aggregation of SQL data or columns.
257
257
258
258
> [!NOTE]
259
-
> Currently, both **json** aggregate functions `JSON_OBJECTAGG` and `JSON_ARRAYAGG` are available in preview for Azure SQL Database.
259
+
> Both **json** aggregate functions `JSON_OBJECTAGG` and `JSON_ARRAYAGG` are currently in preview for Azure SQL Database and Azure SQL Managed Instance (configured with the [**Always-up-to-date** update policy](/azure/azure-sql/managed-instance/update-policy#always-up-to-date-update-policy)).
Copy file name to clipboardExpand all lines: docs/relational-databases/json/store-json-documents-in-sql-tables.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: "Learn why and how to store and index JSON documents, and how to op
4
4
author: WilliamDAssafMSFT
5
5
ms.author: wiassaf
6
6
ms.reviewer: umajay
7
-
ms.date: 08/01/2024
7
+
ms.date: 08/20/2024
8
8
ms.service: sql
9
9
ms.custom:
10
10
- build-2024
@@ -22,7 +22,7 @@ The first storage design decision is how to store JSON documents in the tables.
22
22
-**LOB storage** - JSON documents can be stored as-is in columns with the data type **json** or **nvarchar**. This is the best way for quick data load and ingestion because the loading speed matches the loading speed of string columns. This approach might introduce an additional performance penalty on query/analysis time if indexing on JSON values is not performed, because the raw JSON documents must be parsed while the queries are running.
23
23
-**Relational storage** - JSON documents can be parsed while they are inserted in the table using `OPENJSON`, `JSON_VALUE` or `JSON_QUERY` functions. Fragments from the input JSON documents can be stored in the columns containing JSON sub-elements with data types **json** or **nvarchar**. This approach increases the load time because JSON parsing is done during load; however, queries match the performance of classic queries on the relational data.
24
24
25
-
-Currently, the [JSON data type](../../t-sql/data-types/json-data-type.md) is available in Azure SQL Database.
25
+
-The [JSON data type](../../t-sql/data-types/json-data-type.md) is currently in preview for Azure SQL Database and Azure SQL Managed Instance (configured with the [**Always-up-to-date** update policy](/azure/azure-sql/managed-instance/update-policy#always-up-to-date-update-policy)).
26
26
- Currently in SQL Server, JSON is not a built-in data type.
The new native **json** data type that stores JSON documents in a native binary format.
22
22
@@ -60,7 +60,7 @@ JSON support was first introduced in [!INCLUDE [sssql16-md](../../includes/sssql
60
60
**json** is available under all database compatibility levels.
61
61
62
62
> [!NOTE]
63
-
> Currently, the **json** type is available in preview on Azure SQL Database.
63
+
> The [JSON data type](../../t-sql/data-types/json-data-type.md) is currently in preview for Azure SQL Database and Azure SQL Managed Instance (configured with the [**Always-up-to-date** update policy](/azure/azure-sql/managed-instance/update-policy#always-up-to-date-update-policy)).
Constructs a JSON array from an aggregation of SQL data or columns.
27
27
28
28
To create a JSON object from an aggregate instead, use [JSON_OBJECTAGG](json-objectagg-transact-sql.md).
29
29
30
30
> [!NOTE]
31
-
> Currently, both **json** aggregate functions `JSON_OBJECTAGG` and `JSON_ARRAYAGG` are available in preview for Azure SQL Database.
31
+
> Both **json** aggregate functions `JSON_OBJECTAGG` and `JSON_ARRAYAGG` are currently in preview for Azure SQL Database and Azure SQL Managed Instance (configured with the [**Always-up-to-date** update policy](/azure/azure-sql/managed-instance/update-policy#always-up-to-date-update-policy)). .
To create a JSON array from an aggregate instead, use [JSON_ARRAYAGG](json-arrayagg-transact-sql.md).
31
31
32
32
> [!NOTE]
33
-
> Currently, both **json** aggregate functions `JSON_OBJECTAGG` and `JSON_ARRAYAGG` are available in preview for Azure SQL Database.
33
+
> Both **json** aggregate functions `JSON_OBJECTAGG` and `JSON_ARRAYAGG` are currently in preview for Azure SQL Database and Azure SQL Managed Instance (configured with the [**Always-up-to-date** update policy](/azure/azure-sql/managed-instance/update-policy#always-up-to-date-update-policy)).
0 commit comments