open-json Questions

2

Solved

I have the following JSON data : set @json = N'{ "Book":{ "IssueDate":"02-15-2019" , "Detail":{ "Type":"Any Type" , "Author":{ "Name":"Annie" , "Sex":"Female" } } , "Chapter":[ { "Sect...
Greig asked 15/2, 2019 at 7:1

4

Solved

Context: I'm having difficulty modifying a stored procedure in SQL Server 2016. The stored procedure performs parsing of json data within a file. For some reason I'm able to execute the stored proc...
Osric asked 30/7, 2019 at 0:16

1

Solved

I have an OPENJSON command that takes the parsed JSON and LEFT joins it onto an existing table. When I add the LEFT JOIN I get the error: collation conflict between "Latin1_General_BIN2"...
Filomena asked 6/10, 2021 at 13:29

1

I am trying to connect to abfss directly(without mounting to DBFS) and trying to open json file using open() method in databricks. json_file = open("abfss://@.dfs.core.windows.net/test.json') ...

3

Solved

I'm trying to set the path for my OPENJSON function for the nested array, but it's not working. Tried different variations and examples/resources I found online and still cannot figure it out. Any ...
Colliery asked 3/7, 2020 at 22:54

1

Solved

I have a table in a json file (C:\db.json): [{"_id":"81743561","_record_number":"1","_form_id":"618213","_user_id":"218754",...}, {"_id":"81782299","_record_number":"2","_form_id":"618213","_user_...
Ethelyn asked 29/4, 2020 at 8:25

1

Solved

I have a temp table with multiple rows in it and each row has a column called Categories; which contains a very simple json array of ids for categories in a different table. A few example rows of...
Kassandrakassaraba asked 8/11, 2019 at 18:9

2

Solved

I have a stored procedure that accepts a NVARCHAR(max) string that is JSON data that I need to validate before loading it into the live tables. If the validation fails I need to return a message wi...
Psalms asked 16/4, 2019 at 14:20

1

Solved

Is it possible to combine parts of a json document from multiple array elements into a single result in Sql Server 2016? Given this json: { "fruit": { "types": [ { "possible": [ "Apples", "Ba...
Capital asked 31/7, 2017 at 22:9

3

Solved

I have some json that I would like to parse in SQL Server 2016. There is a hierarchy structure of Projects->Structures->Properties. I would like to write a query that parses the whole hierarchy but...
Salzburg asked 13/5, 2016 at 19:47
1

© 2022 - 2025 — McMap. All rights reserved.