Expand Interval Literal Expressions - Analytics Database - Teradata Vantage

SQL Data Manipulation Language

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-04-05
dita:mapPath
pon1628111750298.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
esx1472246586715
lifecycle
latest
Product Category
Teradata Vantage™

The following table explains the meanings of the expand interval syntax variables for the EXPAND ON clause.

Expand Interval Description
interval_literal To perform an interval expansion, specify any valid Interval literal value (see Teradata Vantage™ - Data Types and Literals, B035-1143 for a comprehensive list of valid Interval literals).
ANCHOR anchor_name To perform an anchor point expansion, specify an anchor name, but do not specify PERIOD.
ANCHOR PERIOD anchor_name To perform an anchor period expansion, you must specify PERIOD and an anchor name.