15.10 - MINVALUE - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

Teradata Database
December 2015
Programming Reference
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.