int | -2^31 (-2,147,483,648) 到 2^31-1 (2,147,483,647) | 4个字节 |
bigint | -2^63 (-9,223,372,036,854,775,808) 到 2^63-1 (9,223,372,036,854,775,807) | 8个字节 |
smallint | -2^15 (-32,768) 到 2^15-1 (32,767) | 2个字节 |
tinyint | 0 到 255 | 1个字节 |
int | -2^31 (-2,147,483,648) 到 2^31-1 (2,147,483,647) | 4个字节 |
bigint | -2^63 (-9,223,372,036,854,775,808) 到 2^63-1 (9,223,372,036,854,775,807) | 8个字节 |
smallint | -2^15 (-32,768) 到 2^15-1 (32,767) | 2个字节 |
tinyint | 0 到 255 | 1个字节 |
已有 3653 位网友参与,快来吐槽:
发表评论