SQLServer icon indicating copy to clipboard operation
SQLServer copied to clipboard

Script doesn't support Array

Open JensBorrisholt opened this issue 2 years ago • 0 comments

Hello

If the json starts with an array your script will fail

Here's how to reproduce

DECLARE @JsonData nvarchar(max) = '[{ "ois_id": 872326 }]', ....

JensBorrisholt avatar Dec 02 '21 17:12 JensBorrisholt