BINARY
1 to 65,000
Fixed-length binary string
NULLSLAST
VARBINARY
1 to 65,000
Variable-length binary string
NULLSLAST
LONG VARBINARY
1to32,000,000
Long variable-length binary string
NULLSLAST
BYTEA
SynonymsforVARBINARY
RAW
BOOLEAN
1
True or False or NULL
NULLSLAST
CHAR
1 to 65,000
Fixed-length character string
NULLSLAST
VARCHAR
1 to 65,000
Variable-length character string
NULLSLAST
LONG VARCHAR
1 to 32,000,000
Long variable-length character string
NULLSLAST
DATE
8
Represents a month, day, and year
NULLSFIRST
TIME
8
Represents a time of day without timezone
NULLSFIRST
DATETIME
TIMESTAMP
SMALLDATETIME
TIME WITH TIMEZONE
8
Represents a time of day with timezone
NULLSFIRST
TIMESTAMP
8
Represents a date and time without timezone
NULLSFIRST
TIMESTAMPWITHTIMEZONE
8
Represents a date and time with timezone
NULLSFIRST
INTERVAL
8
Measures the difference between two points in time
NULLSFIRST
INTERVALDAYTOSECOND
Represents an interval measured in days and seconds
NULLSFIRST
INTERVALYEARTOMONTH
Represents an interval measured in years and months
NULLSFIRST
DOUBLE PRECISION
8
Signed 64-bit IEEE floating point number, requiring 8 bytes of storage
NULLSLAST
FLOAT
8
Signed 64-bit IEEE floating point number, requiring 8 bytes of storage
NULLSLAST
FLOAT(n)
8
Signed 64-bit IEEE floating point number, requiring 8 bytes of storage
NULLSLAST
FLOAT8
8
Signed 64-bit IEEE floating point number, requiring 8 bytes of storage
NULLSLAST
REAL
8
Signed 64-bit IEEE floating point number, requiring 8 bytes of storage
NULLSLAST
INTEGER
Signed 64-bit integer, requiring 8 bytes of storage
NULLSFIRST
INT
Signed 64-bit integer, requiring 8 bytes of storage
NULLSFIRST
BIGINT
Signed 64-bit integer, requiring 8 bytes of storage
NULLSFIRST
INT8
Signed 64-bit integer, requiring 8 bytes of storage
NULLSFIRST
SMALLINT
Signed 64-bit integer, requiring 8 bytes of storage
NULLSFIRST
TINYINT
Signed 64-bit integer, requiring 8 bytes of storage
NULLSFIRST
DECIMAL
8 bytes for the first 18 digits of precision, plus 8 bytes for each additional 19 digits
NULLSFIRST
NUMERIC
8 bytes for the first 18 digits of precision, plus 8 bytes for each additional 19 digits
NULLSFIRST
NUMBER
8 bytes for the first 18 digits of precision, plus 8 bytes for each additional 19 digits
NULLSFIRST
MONEY
8 bytes for the first 18 digits of precision, plus 8 bytes for each additional 19 digits
NULLSFIRST
GEOMETRY
NULLSLAST
GEOGRAPHY
UUID
NULLSFIRST
ARRAY
SET