16.20 - XML Query Using XPath and XQuery - 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)

The basic steps for querying XML content are:

  1. Compose an XPath or XQuery query and use BTEQ or SQL Assistant to test it against XML documents in the database.
  2. Depending on the intended use, you can use these methods and functions to evaluate the XML queries:
    • XMLEXTRACT method
    • EXISTSNODE method
    • XMLQUERY function
    • XMLTABLE function