INT1 behaves exactly the same as TINYINT in MySQL and MariaDB. It consumes one byte of storage and can be declared as either SIGNED or UNSIGNED. When SIGNED (default), the range is ‑128 to 127. When UNSIGNED, the range is 0 to 255. INT1 can also be combined with the ZEROFILL attribute, which pads returned values with leading zeros and implicitly adds UNSIGNED. The keyword is non-standard SQL; most other database systems do not recognize it. While still accepted by MySQL, INT1 is considered purely a synonym for TINYINT, so using TINYINT is usually preferred for readability and cross-version compatibility. INT1 participates in numeric expressions like any other integer type, and it follows MySQL’s standard rules for integer overflow, casting, and implicit conversion.
SIGNED: keyword
(optional) - Stores negative and positive values (-128 to 127). Default.UNSIGNED: keyword
(optional) - Restricts values to non-negative range (0 to 255).ZEROFILL: keyword
(optional) - Pads displayed numbers with leading zeros to the specified display width and automatically applies UNSIGNED.TINYINT, SMALLINT, INT, BIGINT, UNSIGNED, ZEROFILL
MySQL 3.23
INT1 uses 1 byte. Signed range: ‑128 to 127. Unsigned range: 0 to 255.
Yes. In MySQL and MariaDB, INT1 is a direct synonym for TINYINT with identical behavior.
No. INT1 is not part of the SQL standard and is unsupported in most non-MySQL databases.
Yes. Adding ZEROFILL pads returned numbers with leading zeros and implicitly makes the column UNSIGNED.