XMLPI Function | XML Data Type | Teradata Vantage - XMLPI - 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
Language
English (United States)
Last Update
2023-10-30
dita:mapPath
tkc1628112506748.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
dgs1472251600184
lifecycle
latest
Product Category
Teradata Vantageā„¢

Creates an XML processing instruction node with the name determined by XML_PI_target.

XMLPI creates an XML processing instruction node with the name specified by XML_PI_target. char_value_expr is evaluated to a character string value using the rules for converting SQL data type values to XML values. A processing instruction node is constructed from the name and character string value so that its serialization is <? name character-string-value ?>. If this is not a well-formed XML 1.1 PI, an error is raised.

Result Type

The return value is of XML type. The return value is based on the RETURNING clause. If the clause is not specified, the default is RETURNING SEQUENCE.