1 Introduction

SQL XQuery Standards Support Document describes the level of support that is provided by Microsoft SQL Server 2008 R2 for the XQuery query language and the choices made when implementing XQuery 1.0, the XQuery 1.0 and XPath 2.0 functions and operators, and the XQuery 1.0 and XPath 2.0 data model.

XQuery is a query language that allows queries against the content of an XML document or against XML that is stored in a relational database system. The schema for the XML can be known or unknown. The XQuery language also allows the construction of XML output.