Ispirer Website Ispirer Capabilities - PostgreSQL Migration Free Trial

PostgreSQL Data Types - INT

Versions: PostgreSQL 8.x and 7.x

PostgreSQL - INT
Syntax INT
Data 32-bit integer data
Range -231 to 231-1 (2G)
Storage Size 4 bytes
Synonyms INTEGER, INT4
Standards ANSI SQL

PostgreSQL INT - Equivalents in Other Databases

Database Data Type and Conversion
Oracle NUMBER(10,0), -1010-1 to 1010-1
SQL Server INT, -231 to 231-1 (2G)
MySQL INT, Signed: -231 to 231-1 (2G), Unsigned: 0 to 232-1 (4G)
Sybase ASE INT, Signed: -231 to 231-1 (2G), Unsigned: 0 to 232-1 (4G)
Informix INT, -231 to 231-1 (2G)
HP Neoview INT, Signed: -231 to 231-1 (2G), Unsigned: 0 to 232-1 (4G)
Ingres INTEGER, -231 to 231-1

Related Data Types in PostgreSQL

Data Types
Integers BIGINT SMALLINT
Auto-increment integers SERIAL BIGSERIAL
Fixed-point DECIMAL(p,s) NUMERIC(p,s)
Floating-point FLOAT(p) REAL DOUBLE PRECISION

All Data Types


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