Modifying JSON
摘要
To manipulate data within a JSON document, whether inserting, updating, or removing values. SQL Server 2016 introduced the JSON_MODIFY() function. This built-in function updates JSON text directly, but unlike the XML modify() method, it supports only an append operation. The XML counterpart offers a broader set of capabilities, including insert, delete, and replace modes, making JSON_MODIFY() more limited in comparison.