Skip to content

Commit 691dd47

Browse files
20251105 json storage limits (#35751)
* 20251105 json storage limits Co-authored-by: Benjamin Petersen <101329882+bpp-incom@users.noreply.github.com> * Update json-data-type.md --------- Co-authored-by: Benjamin Petersen <101329882+bpp-incom@users.noreply.github.com>
1 parent 6d09e9a commit 691dd47

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

docs/t-sql/data-types/json-data-type.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: The native JSON data type provides advantages for storing JSON data
44
author: WilliamDAssafMSFT
55
ms.author: wiassaf
66
ms.reviewer: randolphwest, jovanpop, umajay
7-
ms.date: 09/16/2025
7+
ms.date: 11/05/2025
88
ms.service: sql
99
ms.subservice: t-sql
1010
ms.topic: reference
@@ -148,6 +148,20 @@ Currently, the `OPENJSON()` function doesn't accept the **json** data type in so
148148

149149
- In [!INCLUDE [sssql25-md](../../includes/sssql25-md.md)], the `OPENJSON()` function does support **json**. For more information, see [Key JSON capabilities in SQL Server 2025](../../relational-databases/json/json-data-sql-server.md#key-json-capabilities).
150150

151+
### Size limitations
152+
153+
Size limits of JSON data in storage:
154+
155+
| Field | Limitation |
156+
|:--|:--|
157+
| JSON data type size (binary) | Up to 2GB |
158+
| Number of unique keys | Up to 32K |
159+
| Per key string size | 7998 bytes |
160+
| Per string value size | 536870911 bytes |
161+
| Number of properties in one object | Up to 65535 |
162+
| Number of elements in one array | Up to 65535 |
163+
| Number of nested levels in JSON document | 128 |
164+
151165
## Related content
152166

153167
- [Store JSON documents](../../relational-databases/json/store-json-documents-in-sql-tables.md)

0 commit comments

Comments
 (0)