XMLDOCUMENT Syntax - Analytics Database - Teradata Vantage

XML Data Type

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2023-10-30
dita:mapPath
tkc1628112506748.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
dgs1472251600184
lifecycle
latest
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.