XMLDOCUMENT Syntax - Analytics Database - Teradata Vantage

Teradata Vantageā„¢ - XML Data Type - 17.20

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2023-01-27
dita:mapPath
tkc1628112506748.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
dgs1472251600184
Product Category
Teradata Vantage
XMLDOCUMENT (
  XML_value_expr
  [ RETURNING { CONTENT | SEQUENCE } ]
)

Syntax Elements

XML_value_expr
An instance of the XML type. If XML_value_expr is not of XML type, it is implicitly cast to XML type. If the cast is not supported, an error is raised. If XML_value expr is NULL, the result is NULL.
RETURNING CONTENT
The return value is a document node with one or more child element nodes.
RETURNING SEQUENCE
The return value is a sequence (an ordered collection of items, each of which can either be a valid Xquery node or atomic value). This is the default.