INTERVAL DAY TO MINUTE Data Type | Data Types and Literals | Teradata Vantage - INTERVAL DAY TO MINUTE Data Type - Advanced SQL Engine - Teradata Database

SQL Data Types and Literals

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
tpf1598412463935.ditamap
dita:ditavalPath
tpf1598412463935.ditaval
dita:id
B035-1143
lifecycle
previous
Product Category
Teradata Vantageā„¢

Identifies a field as an INTERVAL value defining a period of time in days, hours, and minutes.

ANSI Compliance

INTERVAL DAY TO MINUTE is ANSI SQL:2011 compliant.

Syntax

INTERVAL DAY [ ( precision ) ] TO MINUTE [ attributes [...] ]

Syntax Elements

precision
The permitted range of digits for DAY, ranging from one to four.
The default is two.
HOUR is always two digits and MINUTE is always two digits.
attributes
Appropriate data type, column storage, or column constraint attributes.
See Core Data Type Attributes and Storage and Constraint Attributes for specific information.