O'Reilly logo

Pro T-SQL 2008 Programmer's Guide by Michael Coles

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix B. XQuery Data Types

SQL Server 2008 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.

XQuery Data Type System

Figure B.1. XQuery Data Type System

Table B.1. XQuery Data Types

Type

Description

Base Types

 

xs:anySimpleType

This is the base type for all simple built-in types.

xs:anyType

This is the base type for xs:anySimpleType and complex built-in types.

Date/Time Types

 

xs:date

This type represents a Gregorian calendarbased date value exactly one day in length, represented in the format ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required