I. Bigint type comparison: integer data from-2 ^ 63 (-9223372036854775808) to 2 ^ 63-1 (9223372036854775807). The storage size is 8 bytes. If a byte is 8 bits, bigint has 64 bits of int: integer data from-2 ^ 31 (-2,147,483,648) to 2 ^ 31-1 (2,147,48
One. Type comparisonbigint: Integer data from -2^63 (-9223372036854775808) to 2^63-1 (9223372036854775807) with a storage size of 8 bytes. One byte is 8 bits, so bigint has 64 bits.int: integer data from -2^31 (-2,147,483,648) to 2^31-1 (2,147,483,64
The Recently used MySQL database encountered a number of types, mainly int,bigint,smallint and tinyint. One of the more confusing is the difference between int and smallint. Today on the Internet to find out carefully, find the following content,
The recent use of MySQL database has encountered many types of numbers, mainly int,bigint,smallint and tinyint. Among them, the difference between int and smallint is confusing. Today on the internet carefully looked for, find the following content,
1. Type comparison
Bigint: integer data from-2 ^ 63 (-9223372036854775808) to 2 ^ 63-1 (9223372036854775807). The storage size is 8 bytes. One byte is 8 bits, so bigint has 64 bits
INT: integer data from-2 ^ 31 (-2,147,483,648) to 2 ^ 31-1 (2,147,4
An exact numeric data type that uses integer data.
bigint
Integer data (all numbers) from -2^63 (-9223372036854775808) to 2^63-1 (9223372036854775807). The storage size is 8 bytes.
P.S. bigint already has a length, in the MySQL build table length,
The recent use of MySQL database has encountered several types of numbers, mainly int,bigint,smallint and tinyint. One of the more confusing is the difference between int and smallint. Today on the Internet to find out carefully, find the following
The recent use of MySQL database has encountered several types of numbers, mainly int,bigint,smallint and tinyint. One of the more confusing is the difference between int and smallint. Today on the Internet to find out carefully, find the following
bigint 20-digit 8-byteInteger data (all numbers) from -2^63 (-9223372036854775808) to 2^63-1 (9223372036854775807). The storage size is 8 bytes.9223372036854775808P.S. bigint already has length, in MySQL build table length, just used to display the
Usage of bigint, int, smallint, and tinyint storage in mysql bitsCN.com
Use the exact numeric data type of integer data. Bigint integer data from-2 ^ 63 (-9223372036854775808) to 2 ^ 63-1 (9223372036854775807) (all numbers ). The storage size is 8
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.