Home > Database > Mysql Tutorial > MySQL整型:TINYINT, SMALLINT, MEDIUMINT, INT, BIGINT的范围_MySQL

MySQL整型:TINYINT, SMALLINT, MEDIUMINT, INT, BIGINT的范围_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-01 13:30:17
Original
1792 people have browsed it

bitsCN.com

MySQL整型:TINYINT, SMALLINT, MEDIUMINT, INT, BIGINT的范围

 

TINYINT:有符号的范围是-128至127,无符号的范围是0到255,2的8 次方

 

SMALLINT:有符号的范围是-32768至32767,无符号的范围是0到65535,2的16次方

 

MEDIUMINT:有符号的范围是-8388608至8388607,无符号的范围是0到16777215,2的24次方

 

INT(integer):有符号的范围是-2147483648至2147483647,无符号的范围是0到4294967295,2的32次方

 

BIGINT:有符号的范围是-9223372036854775808至9223372036854775807,无符号的范围是0到18446744073709551615,2的64次方

 

bitsCN.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template