Getting started
User guides
Administration guides
Reference guides
Resources
Updated Aug 04, 2022
Send us feedback
INT
Represents 4-byte signed integer numbers.
{ INT | INTEGER }
The range of numbers is from -2,147,483,648 to 2,147,483,647.
[ + | - ] digit [ ... ]
digit: Any numeral from 0 to 9.
digit
If the literal is outside of the range for an INT it will be implicitly turned into a BIGINT.
> SELECT +1; 1 > SELECT CAST('5' AS INT); 5 > SELECT typeof(-2147483649); BIGINT
TINYINT type
SMALLINT type
BIGINT type
DECIMAL type
FLOAT type
DOUBLE type
cast function