Skip to content

Commit 27d7609

Browse files
authored
Merge pull request #36201 from MicrosoftDocs/FromPublicRepo
Confirm merge from FromPublicRepo to main to sync with https://github.com/MicrosoftDocs/sql-docs (branch live)
2 parents fecdeee + 0d68cb9 commit 27d7609

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/t-sql/functions/json-objectagg-transact-sql.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Both **json** aggregate functions `JSON_OBJECTAGG` and `JSON_ARRAYAGG` are:
4141
## Syntax
4242

4343
```syntaxsql
44-
JSON_OBJECTAGG ( json_key_value [ json_null_clause ] [ RETURNING json ] )
44+
JSON_OBJECTAGG ( json_key_value [ json_null_clause ] [ RETURNING JSON ] )
4545
4646
json_key_value ::= <json_name> : <value_expression>
4747
@@ -60,7 +60,7 @@ Optional. Omits the entire property of an object if the value is `NULL`, or use
6060

6161
## Return value
6262

63-
Returns a valid JSON object string of **nvarchar(max)** type. If the `RETURNING json` option is included then the JSON object is returned as **json** type.
63+
Returns a valid JSON object string of **nvarchar(max)** type. If the `RETURNING JSON` option is included then the JSON object is returned as **json** type.
6464

6565
## Examples
6666

0 commit comments

Comments
 (0)