Restrictions on the Data Types Involved in Predicates - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
Language
English (United States)
Last Update
2024-04-03
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

The restrictions in the following table apply to operations involving predicates and CLOB, BLOB, and UDT types.

Data Type Restrictions
BLOB Predicates do not support BLOB or CLOB data types.

You can explicitly cast BLOBs to BYTE and VARBYTE types and CLOBs to CHARACTER and VARCHAR types, and use the results in a predicate.

CLOB
UDT The LIKE and OVERLAPS logical predicates do not support UDTs.

For EXISTS and NOT EXISTS: Multiple UDTs involved as predicate operands must be identical types because Vantage does not perform implicit type conversion on UDTs involved as predicate operands.

For BETWEEN/ NOT BETWEEN and IN/NOT:
  • Multiple UDTs involved as predicate operands must be identical types because Vantage does not perform implicit type conversion on UDTs involved as predicate operands.

    A workaround for this restriction is to use CREATE CAST to define casts that cast between the UDTs and then explicitly invoke the CAST function within the operation involving predicates.

  • UDTs involved as predicate operands must have ordering definitions.