Summary

This chapter explored JSON support in SQL Server 2017. It is not as robust and deep as  XML—there is no native data type, and no optimized storage, and therefore you cannot create JSON indexes to improve performance. Thus, we are talking about built-in and not native JSON support.

However, even with built-in support, it is easy and handy to integrate JSON data in SQL Server. For most of JSON data processing, it would be acceptable. For large JSON documents stored in large database tables, it would be more appropriate to use DocumentDB or other NoSQL based solutions.

In this chapter, you learned that SQL Server 2017 brings built-in support for JSON data; unlike XML, there is no native data type. You used the FOR JSON extension to generate ...

Get SQL Server 2017 Developer's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.