SQL-J Language Reference
Page 98 of 121

INTEGER

INTEGER provides 4 bytes of storage for integer values.

Syntax for Column Definition

{ INTEGER | INT }

Corresponding Compile-Time Java Type

java.lang.Integer

JDBC Metadata Type (java.sql.Types)

INTEGER

Minimum Value

-2147483648 (java.lang.Integer.MIN_VALUE)

Maximum Value

2147483647 (java.lang.Integer.MAX_VALUE)

When mixed with other data types in expressions, the resulting data type follows the rules shown in Numeric Type Promotion in Expressions.

See also Storing Values of One Numeric Data Type in Columns of Another Numeric Data Type.

INTEGER Literal Examples

3453
425