16.20 - Example: Using ISDOCUMENT to Check if an XML Value is a Well-formed XML Document - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ XML Data Type

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Release Date
March 2019
Content Type
Programming Reference
Publication ID
B035-1140-162K
Language
English (United States)
SELECT customerXML.ISDOCUMENT()
FROM customer
WHERE customerID = 1;

Query result:

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