0

I am using Json Array to store child table records as a column in parent table. Now I have a requirement to conditionally delete one of the record from json array. If it would have been a table, I could have used delete command with the condition but how can I delete a record form Json array stored as varchar(max) column in SQL Server. I have gone through below url and can see command to query and modify the data but what about delete? https://learn.microsoft.com/en-us/sql/relational-databases/json/json-data-sql-server?view=sql-server-2017

2
  • provide sample JSON and expected result Commented May 30, 2019 at 12:27
  • see this answer for solution stackoverflow.com/a/47095742/3266499 Commented May 30, 2019 at 12:40

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.