CONTAINS Function | SQL Date/Time Functions & Expressions | Teradata Vantage - 17.00 - 17.05 - CONTAINS - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Date and Time Functions and Expressions

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
17.05
Release Date
June 2020
Content Type
Programming Reference
Publication ID
B035-1211-170K
Language
English (United States)

Evaluates two Period expressions, or derived periods, or DateTime expressions to TRUE, FALSE, or UNKNOWN.

Syntax

period_spec [NOT] CONTAINS period_spec
period_spec
{ period_expression | datetime_expression | derived_period }
period_expression

Any expression that evaluates to a Period data type.

The Period expression must be comparable with the other expression. Implicit casting to a Period data type is not supported.

datetime_expression
An expression that evaluates to a DATE, TIME, or TIMESTAMP value.
derived_period
Any expression that evaluates to a Period data type.