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

2018-11-19  本文已影响0人  LI木水

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

上一篇 下一篇

猜你喜欢

热点阅读