Printer Version Table of Contents Project Home Page
.BASIC_TYPE..: &Integer
.DESCRIPTION.:
A number, a numeric value, that is an integer (whole number).

The LENGTH argument specifies the total number of

significant digits.

EXAMPLE: &INTEGER(5) indicates a number composed of 5 decimal digits.

The largest value that such a number can store is 99999.

.ARGUMENTS...: Length
.PLATFORM....: SYBASE
   select
      when between(length,0,2) then datatype = "tinyint"
      when between(length,3,4) then datatype = "smallint"
      otherwise                     datatype = "int"
   end /*select*/

.END_PLATFORM:
.BackwardReferences:
see DATA_TYPE &small_count