MySQL支持的几种整型取值范围

MySQL supports the SQL standard integer types INTEGER (or INT) and SMALLINT. As an extension to the standard, MySQL also supports the integer types TINYINT, MEDIUMINT, and BIGINT. The following table shows the required storage and range for each integer type.

MySQL支持标准整型类型INTEGER (or INT) 和 SMALLINT,作为标准的一个扩展,MYSQL也支持TINYINT、MEDIUMINT、BIGINT,下面的表格展示了每种整型的存储范围。

mysql.png

详见 https://dev.mysql.com/doc/refman/8.0/en/integer-types.html

你可能感兴趣的:(MySQL支持的几种整型取值范围)