DP-800

Introduction to JSON in SQL Databases

Storing JSON in json columns, indexing JSON paths, and building and reading JSON with T-SQL functions.

  • 4 lessons
  • Module quiz

Applications, APIs and language models exchange data as JSON. Modern SQL platforms store JSON natively in the json data type, index it, build it from rows and read it back into rows, so semi-structured data can live next to relational data.

What the exam expects

Questions test when to use JSON columns, the json type and JSON indexes, and the functions JSON_OBJECT, JSON_ARRAY, JSON_ARRAYAGG, JSON_VALUE, JSON_QUERY, JSON_CONTAINS and OPENJSON in realistic queries.

How this module is organized

Storing JSON with the json Data Type covers storage. Indexing JSON Documents covers indexing paths. Building JSON Objects and Arrays in T-SQL covers producing JSON. Reading and Searching JSON in T-SQL covers paths, extraction and shredding.

  1. Storing JSON with the json Data Type Lesson 1
  2. Indexing JSON Documents Lesson 2
  3. Building JSON Objects and Arrays in T-SQL Lesson 3
  4. Reading and Searching JSON in T-SQL Lesson 4
  5. Practise and review
  6. Checkpoint Practice activities across the module
  7. Test your knowledge 5 questions