From 5ab4834300cb43219ac60212289d1f39a03596bf Mon Sep 17 00:00:00 2001 From: light-traveller <11184964+light-traveller@users.noreply.github.com> Date: Wed, 30 Apr 2025 11:08:11 +0330 Subject: [PATCH] Update json-data-type.md In the "Limitations" section near the end of the document, it should read either of the following: - The behavior of CAST ( ... AS JSON) returns a json type, but the sp_describe_first_result_set system stored procedure doesn't *correctly* return the json data type. - The behavior of CAST ( ... AS JSON) returns a json type, but the sp_describe_first_result_set system stored procedure doesn't correct the returned json data type. --- docs/t-sql/data-types/json-data-type.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/t-sql/data-types/json-data-type.md b/docs/t-sql/data-types/json-data-type.md index 1684d3d0e40..c93d60ba168 100644 --- a/docs/t-sql/data-types/json-data-type.md +++ b/docs/t-sql/data-types/json-data-type.md @@ -95,7 +95,7 @@ Using `SELECT ... INTO` with the JSON type creates a table with the JSON type. ## Limitations -- The behavior of `CAST ( ... AS JSON)` returns a **json** type, but the [sp_describe_first_result_set](../../relational-databases/system-stored-procedures/sp-describe-first-result-set-transact-sql.md) system stored procedure doesn't correct return the **json** data type. Therefore, many data access clients and driver will see a **varchar** or **nvarchar** data type. +- The behavior of `CAST ( ... AS JSON)` returns a **json** type, but the [sp_describe_first_result_set](../../relational-databases/system-stored-procedures/sp-describe-first-result-set-transact-sql.md) system stored procedure doesn't correctly return the **json** data type. Therefore, many data access clients and driver will see a **varchar** or **nvarchar** data type. - Currently, TDS >= 7.4 (with UTF-8) sees **varchar(max)** with `Latin_General_100_bin2_utf8`. - Currently, TDS < 7.4 sees **nvarchar(max)** with database collation.