XMLTEXT Syntax - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
Language
English (United States)
Last Update
2024-04-03
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905
XMLTEXT (
  char_value_expr
  [ RETURNING { CONTENT | SEQUENCE } ]
)

Syntax Elements

char_value_expr
A string that specifies the node value.
The data type of char_value_expr is CLOB, CHAR(n), or VARCHAR(n), where n is as close to 64K as permitted. If the type is CLOB, it cannot be larger than 64K.
If char_value_expr is NULL, the function returns NULL.
RETURNING CONTENT
The return value is an XQuery document node with the text node as its child.
RETURNING SEQUENCE
The return value is a sequence with the text node as its only item. This is the default.