16.20 - Argument Types and Rules - 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)

These rules apply to the XML type instance to be validated:

  • If XML_value_expr is NULL, the function returns NULL.
  • If XML_value_expr is an empty sequence, the function returns an empty sequence.
  • If XML_value_expr is a sequence that contains even a single item that is an atomic value, attribute node, namespace node or text node, an error is raised.