Skip to content

Latest commit

 

History

History
52 lines (40 loc) · 2.28 KB

File metadata and controls

52 lines (40 loc) · 2.28 KB
title XQuery Basics | Microsoft Docs
description Learn the fundamentals of the XQuery language including, sequence and QNames, expression context, atomization, type system, error handling, and comments.
ms.custom
ms.date 03/17/2017
ms.prod sql
ms.prod_service sql
ms.reviewer
ms.technology xml
ms.topic language-reference
dev_langs
XML
helpviewer_keywords
XQuery, about XQuery
ms.assetid b2460a37-7663-42de-9c72-fdfbe2f1504d
author rothja
ms.author jroth

XQuery Basics

[!INCLUDEtsql-appliesto-ss2012-xxxx-xxxx-xxx-md]

This section describes the fundamentals of XQuery.

In This Section

Sequence and QNames (XQuery)
Describes sequence and also QNames and predefined namespaces.

Expression Context and Query Evaluation (XQuery)
Describes the two contexts in which XQuery is evaluated. These two contexts are static and dynamic.

Atomization (XQuery)
Describes atomization, which is a process of extracting the typed value of an item.

Effective Boolean Value (XQuery)
Describes the effective Boolean value. This value can be computed for expressions that return a single Boolean value, a node sequence, or an empty sequence.

Type System (XQuery)
Describes the XQuery type system with various predefined types. XQuery is a strongly typed language for schema types and a weakly typed language for untyped data.

Error Handling (XQuery)
Describes the handling of static, dynamic, and type errors in XQuery.

Comments in XQuery
Describes how to add comments in XQuery by using the "(:" and ":)" delimiters

XQuery and Static Typing
Describes XQuery in [!INCLUDEssNoVersion] as a statically typed language

See Also

XQuery Language Reference (SQL Server)