Overview of Functions for XML Type and XQuery - Teradata Vantage NewSQL Engine - 16.20

Teradata Vantageā„¢ XML Data Type

prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1140-162K

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: