Skip to main content
  • Book
  • © 2018

SQL Server Advanced Data Types

JSON, XML, and Beyond

Apress

Authors:

  • Shows how non-relational data types can transform the way you store and interact with business critical data

  • Introduces the growing amount of support within SQL Server for operations and data transformations that until now required third-party software and the associated licensing and development costs

  • Presents what can be done inside the database engine with no additional costs or development time invested in outside software

Buy it now

Buying options

eBook USD 49.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 64.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

Other ways to access

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

Table of contents (12 chapters)

  1. Front Matter

    Pages i-xv
  2. SQL Server Data Types

    • Peter A. Carter
    Pages 1-28
  3. Understanding XML

    • Peter A. Carter
    Pages 29-48
  4. Constructing XML with T-SQL

    • Peter A. Carter
    Pages 49-112
  5. Querying and Shredding XML

    • Peter A. Carter
    Pages 113-156
  6. XML Indexes

    • Peter A. Carter
    Pages 157-179
  7. Understanding JSON

    • Peter A. Carter
    Pages 181-200
  8. Constructing JSON from T-SQL

    • Peter A. Carter
    Pages 201-228
  9. Shredding JSON Data

    • Peter A. Carter
    Pages 229-250
  10. Working with the JSON Data Type

    • Peter A. Carter
    Pages 251-277
  11. Understanding Spatial Data

    • Peter A. Carter
    Pages 279-297
  12. Working with Spatial Data

    • Peter A. Carter
    Pages 299-340
  13. Working with Hierarchical Data and HierarchyID

    • Peter A. Carter
    Pages 341-383
  14. Back Matter

    Pages 385-392

About this book

Deliver advanced functionality faster and cheaper by exploiting SQL Server's ever-growing amount of built-in support for modern data formats. Learn about the growing support within SQL Server for operations and data transformations that have previously required third-party software and all the associated licensing and development costs. Benefit through a better understanding of what can be done inside the database engine with no additional costs or development time invested in outside software.


Widely used types such as JSON and XML are well-supported by the database engine. The same is true of hierarchical data and even temporal data. Knowledge of these advanced types is crucial to unleashing the full power that's available from your organization's SQL Server database investment. 



SQL Server Advanced Data Types explores each of the complex data types supplied within SQL Server. Common usage scenarios for each complex data type are discussed, followed by a detailed discussion on how to work with each data type. Each chapter demystifies the complex data and you learn how to use the data types most efficiently.


The book offers a practical guide to working with complex data, using real-world examples to demonstrate how each data type can be leveraged. Performance considerations are also discussed, including the implementation of special indexes such as XML indexes and spatial indexes.



What You'll Learn

  • Understand the implementation of basic data types and why using the correct type is so important
  • Work with XML data through the XML data type
  • Construct XML data from relational result sets
  • Store and manipulate JSON data using the JSON data type
  • Model and analyze spatial data for geographic information systems
  • Define hierarchies and query them efficiently through the HierarchyID type

Who This Book Is For



SQL Server developers and application developers who need to store and access complex data structures

Authors and Affiliations

  • London, United Kingdom

    Peter A. Carter

About the author

​Peter Carter is a SQL Server expert with over a decade of experience in developing, administering, and architecting SQL Server platforms and data-tier applications. He was awarded an MCC by Microsoft in 2011. He has MCTS, MCITP, MCSA, and MCSE certifications in SQL Server from version 2005 onward. Peter has written a number of books across a variety of SQL Server topics, including security, high availability, and automation.

Bibliographic Information

  • Book Title: SQL Server Advanced Data Types

  • Book Subtitle: JSON, XML, and Beyond

  • Authors: Peter A. Carter

  • DOI: https://doi.org/10.1007/978-1-4842-3901-8

  • Publisher: Apress Berkeley, CA

  • eBook Packages: Professional and Applied Computing, Professional and Applied Computing (R0), Apress Access Books

  • Copyright Information: Peter A. Carter 2018

  • Softcover ISBN: 978-1-4842-3900-1Published: 24 August 2018

  • eBook ISBN: 978-1-4842-3901-8Published: 23 August 2018

  • Edition Number: 1

  • Number of Pages: XV, 392

  • Number of Illustrations: 103 b/w illustrations

  • Topics: Database Management

Buy it now

Buying options

eBook USD 49.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 64.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

Other ways to access