The problem should be quite simple:
I want to pass json to a SQL Server stored procedure.
Three examples:
{ "id": 1, "name": "Name 1", "comment": "Test comment" }
{ "id": 1, "name": "Name 2" }
{ "id": 1, "comment": null }
- #2 to update the name without touching the comment
- #3 to null the comment without touching the name
Is something like that possible? Or what are the alternatives using stored procedures for updates?