Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Modules and Prologs (XQuery)

Applies To: SQL Server 2014, SQL Server 2016 Preview

Topic Status: Some information in this topic is preview and subject to change in future releases. Preview information describes new features or changes to existing features in Microsoft SQL Server 2016 Community Technology Preview 2 (CTP2).

XQuery Prolog is a series of namespace declarations. In using the declare namespace in prolog, you can specify prefix to namespace binding and use the prefix in the query body.

The following XQuery specifications are not supported in this implementation:

  • Module declaration (version)

  • Module declaration (module namespace)

  • Xmpspacedeclaration (xmlspace)

  • Default collation declaration (declare default collation)

  • Base URI declaration (declare base-uri)

  • Construction declaration (declare construction)

  • Default ordering declaration (declare ordering)

  • Schema import (import schema namespace)

  • Module import (import module)

  • Variable declaration in the prolog (declare variable)

  • Function declaration (declare function)

XQuery Prolog

Describes the XQuery prolog.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft