Answers for "how to parse json array data into ms sql on c#"

SQL
1

jsonvalue sql

JSON_VALUE(jsonInfo,'$.info.address[0].town')
Posted by: Guest on July-21-2020
1

sql how to query data json that store in field

select  *
from employees
where  json_value(home_address,'$.state')='AR'

declare @json nvarchar(max) = N'{"employee":[{"id":1,"name":{"first":"Jane","middle":"Laura","last":"Jones"},"address":{"home":"11th Ave W","work":"10th Ave W","city":"Tampa","zipcode":"33601","state":"Florida"}}]}';
Posted by: Guest on November-11-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language