-
Course
- Data
Querying JSON, XML, and Temporal Data with T-SQL
The most common scenario with SQL Server is querying structured data. But many do not know that it also allows storing and querying semi-structured data using XML and JSON; as well as obtaining values from any point in time with temporal tables.
What you'll learn
Querying structured data is the most common scenario with SQL Server. However, there are cases where the schema is not known up front or more flexibility is needed. Additionally, sometimes it is required to know the value of a particular field at a specific point in time. In this course, Querying JSON, XML, and Temporal Data with T-SQL, you’ll gain the ability to use JSON and XML to store, modify, and query semi-structured data. First, you’ll learn how to work with JSON in SQL Server. Next, you’ll discover how to work with XML. Finally, you’ll explore how to retrieve values at any point in time with temporal tables. When you’re finished with this course, you’ll have the skills and knowledge of JSON, XML, and temporal tables needed to work with semi-structured data and historic data in SQL Server. Software required: Microsoft SQL Server.
Table of contents
- Version Check | 15s
- Querying JSON in Microsoft SQL Server | 3m 51s
- What Is JSON? What About JSON in SQL Server? | 6m 10s
- Querying JSON Documents with T-SQL | 4m 46s
- Converting Data into JSON with FOR JSON PATH and AUTO | 5m 59s
- Using SQL JSON Functions: JSON_VALUE, JSON_QUERY, JSON_MODIFY, and IS_JSON | 3m 12s
- Parsing and Importing JSON with OPENROWSET and OPENJSON | 6m 48s
- Handling Missing Properties with LAX and STRICT Mode | 5m 18s
- Takeaway | 1m 30s
About the author
Xavier is very passionate about teaching, helping others understand Generative AI, ML, Search, and Big Data. He is also an entrepreneur, project manager, technical author, trainer, and holds a few certifications with Cloudera, Microsoft, and the Scrum Alliance, along with being a Microsoft MVP.
More Courses by Xavier