16.20 - Character-to-INTERVAL Conversion - Teradata Vantage NewSQL Engine

Teradata Vantageā„¢ Data Types and Literals

prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1143-162K

Purpose

Converts a character string to an interval value.

CAST Syntax



character_expression

A character expression to be converted.

interval_data_type

An INTERVAL data type to which the expression is to be converted.

data_attribute
One of the following data attributes:
  • NAMED
  • TITLE