Relative Content

Tag Archive for sqljson

Update JSON column value By using condition

I am trying to update a JSON value stored in an MS SQL table, so here is the situation. We have a table named SupportPlans with a column named PlanValue. We need to update the MedicationTasks based on the following criteria: Find the task that has the following values:

How to get first element from json using sql query

I have a json in the below format in a table in column item_details and I am trying to get the rows with category = drawing-room. I have tried the below approach but getting null in result. Requesting to please suggest. Thanks!