APPENDIX B

image

XQuery Data Types

SQL Server 2014 supports the data types defined in the XQuery Data Model (XDM). The supported data types are listed with their definitions in Table B-1. The diagram in Figure B-1 is a quick reference showing the relationships between the XDM data types.

9781484201466_Fig21-01.jpg

Figure B-1. XQuery data type system

Table B-1. XQuery Data Types

Type

Description

Base Types

xs:anySimpleType

Base type for all simple built-in types.

xs:anyType

Base type for xs:anySimpleType and complex built-in types.

Date/Time Types

xs:date

Represents a Gregorian ...

Get Pro T-SQL Programmer’s Guide, 4th Edition 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.