17.10 - Example: Using ISDOCUMENT to Check if an XML Value is a Well-formed XML Document - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - XML Data Type

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1140-171K
Language
English (United States)
SELECT customerXML.ISDOCUMENT()
FROM customer
WHERE customerID = 1;

Query result:

customerXML.ISDOCUMENT()
------------------------
                       1