Ispirer Website Ispirer Capabilities - MySQL Migration Free Trial

MySQL Data Types - BIGINT

Versions: MySQL 5.x, 4.x and 3.23

MySQL - BIGINT
Syntax BIGINT[(m)] [UNSIGNED] [ZEROFILL]
Data 64-bit integer data
Parameters m is the display width of data (not the value range constraint), optional. If the width of the value is less than m, the value is right-padded with spaces
(applications can get this information from the result set metadata). If ZEROFILL is specified the value is right-padded with zeros
Range Signed: -263 to 263-1, Unsigned: 0 to 264-1
Storage Size 8 bytes
Synonyms INT8
SERIAL is an alias for BIGINT UNSIGNED NOT NULL AUTO_INCREMENT UNIQUE
Standards BIGINT - ANSI SQL, BIGINT UNSIGNED - MySQL Extension

MySQL BIGINT - Equivalents in Other Databases

Database Data Type and Conversion
Oracle NUMBER(19,0), -1019-1 to 1019-1
SQL Server BIGINT, -263 to 263-1
PostgreSQL BIGINT, -263 to 263-1
Sybase ASE BIGINT, Signed: -263 to 263-1, Unsigned: 0 to 264-1
Informix BIGINT, -263 to 263-1
HP Neoview LARGEINT, -263 to 263-1
Ingres BIGINT, -263 to 263-1

Related Data Types in MySQL

Data Types
Integers INT MEDIUMINT SMALLINT TINYINT
Fixed-point DECIMAL(p,s) NUMERIC(p,s)
Floating-point FLOAT(p,s) REAL(p,s) DOUBLE(p,s)

All Data Types


© 1999-2024, Ispirer Systems, LLC. All Rights Reserved.