Skip to main content

Modifying JSON

  • Chapter
  • First Online:
XML and JSON Recipes for SQL Server
  • 1604 Accesses

Abstract

To insert, delete, and update data in a JSON document, SQL Server 2016 introduced the JSON_MODIFY() function that updates a JSON string value. This function, compared to XML modify() method, only has an append mode, as opposed to the insert, delete, and instead of modes provided by the XML method. Chapter 10 “Modifying JSON” will demonstrate many recipes explaining how to update a JSON document. In the final section of this chapter, I will compare the performance between XML and JSON.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Alex Grinberg

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Grinberg, A. (2018). Modifying JSON. In: XML and JSON Recipes for SQL Server. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3117-3_10

Download citation

Publish with us

Policies and ethics