16.20 - MINVALUE - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
March 2019
Language
English (United States)
Last Update
2019-05-24
dita:mapPath
wkf1512081455740.ditamap
dita:ditavalPath
TD_DBS_16_20_Update1.ditaval
NO MINVALUE
Minimum value to which a system-generated numeric series can decrement.
The value can be any whole number with an absolute value less than the value specified for START WITH.
The default is the minimum number for the data type defined for the column.
When cycling is not enabled, the sum of the specified values for START WITH and INCREMENT BY must be greater than MINVALUE. If they are not, then the system generates only one number before the minimum limit is exceeded.
  • If you specify a positive INCREMENT BY value with CYCLE, renumbering begins from MINVALUE when MAXVALUE is reached.
  • If you specify a negative INCREMENT BY value, then MINVALUE, if specified, must be a whole number such that MINVALUE ≤ START WITH.
MINVALUE also cannot be smaller than the minimum value for the data type assigned to the identity column.
  • If you specify NO CYCLE, then MINVALUE is not applicable for positive increments.
No warning or error is returned if you specify a MINVALUE with NO CYCLE.