Example: Serialize XMLTextDoc Document Into a String - Advanced SQL Engine - Teradata Database

Data Dictionary

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Published
January 2021
Language
English (United States)
Last Update
2021-01-22
dita:mapPath
prb1610499325399.ditamap
dita:ditavalPath
hoy1596145193032.ditaval
dita:id
B035-1092
lifecycle
previous
Product Category
Teradata Vantageā„¢

This example serializes the XMLTextDoc document into a string and returns the number of bytes contained in the string.

SELECT QueryID,
CHARACTER_LENGTH(xmlserialize(document XMLTextDoc)) as PlanSize
FROM DBC.QRYLogXMLDocV
ORDER BY QueryID;