EXISTSNODE Method | XML Data Type | Teradata Vantage - 17.10 - EXISTSNODE - 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)

Checks if a query returns a result.

Result Type

An INTEGER value as follows:
  • 0 if the query returns NULL or an empty string, or if the result of evaluating the query on the XML instance is an empty sequence.
  • 1 in all other cases.

If the input argument query is NULL, EXISTSNODE returns NULL.