Search  
RU EN
Books for developers

XML and JSON Recipes for SQL Server

XML and JSON Recipes for SQL Server

Author:
Year:
Pages:
303
Views:
1959
XML and JSON Recipes for SQL Server favorites 0
Description

Quickly find solutions to dozens of common problems encountered while using XML and JSON features that are built into SQL Server. Content is presented in the popular problem-solution format. Look up the problem that you want to solve. Read the solution. Apply the solution directly in your own code. Problem solved!

This book shows how to take advantage of XML and JSON to share data and automate tasks. JSON is commonly used to move data back and forth between the database and front-end applications, often running in a browser. This book shows all you need to know about transforming query results into JSON format, and back again. Also covered are the processes and techniques for moving data into and out of XML format for business intelligence and other purposes, such as when transferring data from a reporting system into a data warehouse, or between different database brands such as between SQL Server and Oracle.

Microsoft intensively implements XML in SQL Server, and in many related products. Execution plans are generated in XML format, and this book shows you how to parse those plans and automate the detection of performance problems. The relatively new Extended Events feature writes tracing data into XML files, and the recipes in this book help in parsing those files.

XML is also used in SQL Server's BI tool set, including in SSIS, SSR, and SSAS. XML is used in many configuration files, and is even behind the construction of DDL triggers. In reading this book you’ll dive deeply into the features that allow you to build and parse XML, and also JSON, which is a specific format of XML used to transmit objects in a web-friendly format between a database and its front-end applications.

What You Will Learn

- Build XML and JSON objects in support of automation and data transfer
- Import and parse XML and JSON from operating system files
- Build appropriate indexes on XML objects to improve query performance
- Move data from query result sets into JSON format, and back again
- Automate the detection of database performance problems by querying and parsing the database’s own execution plans
- Replace external and manual JSON processes with SQL Server's internal, JSON functionality

Who This Book Is For

Database administrators, .NET developers, business intelligence developers, and other professionals who want a deep and detailed skill set around working with XML and JSON in a SQL Server database environment. Web developers will particularly find the book useful for its coverage of transforming database result sets into JSON text that can be transmitted to front-end web applications.

Similar
The Definitive Guide to SQLite, Second Edition
Автор: Grant Allen, Mike Owens
Год: 2010
The Definitive Guide to SQLite, Second Edition is your one-stop resource for integrating one of the most advanced and innovative open source database management systems into your development projects. SQLite is freely-available and comes with an amazingly small foot print...
MongoDB Cookbook, 2nd Edition
Автор: Cyrus Dasadia, Amol Nayak
Год: 2016
MongoDB is a high-performance and feature-rich NoSQL database that forms the backbone of the systems that power many different organizations – it's easy to see why it's the most popular NoSQL database on the market. Packed with many features that...
Apps and Services with .NET 7
Автор: Mark J. Price
Год: 2022
Bestselling author Mark Price is back to guide you through the coolest and most common technologies a .NET developer should know: Blazor, .NET MAUI, gRPC, GraphQL, SQL Server, Cosmos DB, OData, SignalR, Azure Functions, and more!Key Features ...
PostgreSQL Developer's Guide
Автор: Ibrar Ahmed, Asif Fayyaz, Amjad Shahzad
Год: 2015
About This Book- Design efficient, real-world database solutions and extend your knowledge of database concepts.- Learn how to program using native PostgreSQL procedural languages to write custom functions.- Explore database partitioning and learn about query optimization techniques.Who This Book Is...
Send message
Type
Email
Your name
*Message