Data Types
The Simba Netezza ODBC Driver supports many common data formats, converting between Netezza data types and SQL data types.
Important:
The maximum size for a record is 65,535 bytes.
The table below lists the supported data type mappings.
Netezza Type | Comment | SQLType |
---|---|---|
bigint (int8) |
Signed |
SQL_BIGINT |
boolean (bool) |
SQL_BIT |
|
byteint (int1) |
Signed |
SQL_TINYINT |
char(n) |
|
SQL_CHAR |
data slice |
This is an internal data type. |
SQL_SMALLINT |
date |
|
SQL_TYPE_DATE |
decimal(p,s) |
Alias for numeric |
SQL_NUMERIC |
double precision (float8) |
|
SQL_DOUBLE |
integer (int4) |
Signed |
SQL_INTEGER |
interval (timespan) |
|
SQL_INTERVAL_DAY_TO_SECOND |
nchar(n) |
|
SQL_WCHAR |
numeric(p, s) |
|
SQL_NUMERIC |
nvarchar(n) |
n <= 16000 |
SQL_WVARCHAR |
real (float4) |
|
SQL_REAL |
rowid |
|
SQL_BIGINT |
smallint (int2) |
Signed |
SQL_SMALLINT |
st_geometry(n) |
n <= 64000 |
Not supported |
time |
|
SQL_TYPE_TIME |
time with timezone |
|
SQL_VARCHAR |
timestamp |
|
SQL_TYPE_TIMESTAMP |
transaction id |
|
SQL_BIGINT |
varbinary(n) |
|
SQL_VARBINARY |
varchar(n) |
|
SQL_VARCHAR |
- Return SQL_BIT as 1/0
- Features
- Configuring the Driver on page 1