RANDOM Function Syntax | VantageCloud Lake - RANDOM Function Syntax - 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
RANDOM ( lower_bound, upper_bound )

Syntax Elements

lower_bound
An integer literal to define the lower bound on the closed interval over which a random number is to be selected.
The limits for lower_bound range from -2147483648 to 2147483647.
lower_bound must be less than or equal to upper_bound.
upper_bound
An integer literal to define the upper bound on the closed interval over which a random number is to be selected.
The limits for upper_bound range from -2147483648 to 2147483647.
upper_bound must be greater than or equal to lower_bound.