XPath/XQuery Result Retrieval - 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

The following examples return results of an XQuery/XPath query evaluation. If the result is a single document or element node, it can be returned directly. If the result is a sequence, it can be cast to a string data type (VARCHAR, CLOB), or you can use the XMLSERIALIZE function to return a string representation of the value. Alternately, you can use the XMLTABLE function to split up items of a sequence. If the items are atomic values, you can cast them to the appropriate SQL type.