Functions for XML Type and XQuery | XML Data Type | Teradata Vantage - Functions for XML Type and XQuery - Advanced SQL Engine - Teradata Database

XML Data Type

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-22
dita:mapPath
amr1556233250442.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1140
lifecycle
previous
Product Category
Teradata Vantageā„¢

This section describes functions that provide the following functionality:

Return information about an XML type instance:
  • DataSize
Create XML nodes and sequences of XML nodes of different types:
  • CREATEXML
  • XMLDOCUMENT
  • XMLELEMENT
  • XMLFOREST
  • XMLCONCAT
  • XMLCOMMENT
  • XMLPI
  • XMLTEXT
  • XMLAGG
XML processing operations such as parsing, validation and query:
  • XMLPARSE
  • XMLVALIDATE
  • XMLQUERY
  • XMLSERIALIZE
  • XMLTABLE
  • XMLSPLIT

The functions are ANSI SQL/XML (SQL 2008) compliant.

If the argument you pass to these functions is a large object argument, it is implicitly cast to XML type, and such arguments cannot be larger than 64KB. For example, you cannot construct an element using XMLELEMENT where the content of the element is specified by a large object that is greater than 64KB in size.
The examples in this section reference tables, files, and data defined in: