Skip to content

Commit 97e66f7

Browse files
authored
Merge pull request #113505 from filippopovic/sqlod-json-sample-fix
Sqlod json sample fix
2 parents 7049b49 + 5f1f9ef commit 97e66f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/synapse-analytics/sql/query-json-files.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ FROM
128128
ROWTERMINATOR = '0x0b'
129129
)
130130
WITH (
131-
jsonContent NVARCHAR(4000) --Note that you have to use NVARCHAR(4000) for OPENJSON to work.
131+
jsonContent NVARCHAR(max) -- Use appropriate length. Make sure JSON fits.
132132
) AS [r]
133133
CROSS APPLY OPENJSON(jsonContent) AS j
134134
WHERE

0 commit comments

Comments
 (0)