Searching Complex JSON in SQL Server

preview_player
Показать описание
Today's video looks at a method for searching across rows of complex JSON data.

Related blog post with more examples:

Follow me on Twitter:
Рекомендации по теме
Комментарии
Автор

Hey, Bert! Thanks a lot!!! That one was super-useful! Right now we’re using ugly stored procedures with calls to built-in Python to parse JSON. Definitely worth trying your clever recursive cte solution on our use-case. Thanks again!

DodovNes
Автор

Hey Thanks Bert!! I'm gonna use this and will share feedback. Just want to know how code will behave when some of Array doesnt have value in it.. For E.g. can we get any array as [4, null, 5, 6] Just like mentioned in Property9 and do we get it property[1] as null??
Anyways I'm gonna test it. I want to make a proper tabular data out of nested JSON to push into a table. from Key-Value pair as a DW repository

pankajtodkar
Автор

Thank you! One question: Why not to store the JSON documents in this key/value pair tables in the first place then?

AttaKru
Автор

I would like to see query plans over date ranges (or... in general interval ranges) dealing with JSON indexes.... XML indexes fail a lot... what do you think?

stefanotorelli
Автор

is there a video on extracting out all values and pairs, even deeply nested into a SQL table. with a pivot so all elements are in columns for that row.

Chris-byeh