Was this helpful?
ODBC Gateway
The ODBC gateway is accessed through the host ODBC driver(s). The gateway is responsible for mapping the host ODBC SQL data types into the equivalent OpenSQL data types.
The ODBC gateway supports most of the native ODBC data types by mapping them into the equivalent OPEN SQL data types.
The mapping consists of mapping the client data type to an equivalent OPEN SQL data type:
Client Data Types
ODB C Data Types
SQL_CHAR
CHAR
SQL_NUMERIC
UNSUPPORTED
SQL_DECIMAL
DECIMAL
SQL_INTEGER
INTEGER
SQL_SMALLINT
INTEGER
SQL_FLOAT
FLOAT
SQL_REAL
FLOAT
SQL_DOUBLE
FLOAT
SQL_DATE
DATE
SQL_TIME
DATE
SQL_SS_TIME2
UNSUPPORTED
SQL_SS_TIMESTAMPOFFSET
UNSUPPORTED
SQL_TIMESTAMP
DATE
SQL_VARCHAR
VARCHAR
SQL_LONGVARCHAR
LONG VARCHAR
SQL_BINARY
UNSUPPORTED
SQL_VARBINARY
UNSUPPORTED
SQL_LONGVARBINARY
UNSUPPORTED
SQL_BIGINT
INTEGER
SQL_TINYINT
INTEGER
SQL_BIT
INTEGER
SQL_WCHAR
NCHAR
SQL_WVARCHAR
NVARCHAR
SQL_GUID
UNSUPPORTED
SQL_WLONGVARCHAR
LONG VARCHAR
SQL_TYPE_DATE
UNSUPPORTED
SQL_TYPE_TIME
UNSUPPORTED
SQL_TYPE_TIMESTAMP
UNSUPPORTED
 
Last modified date: 08/22/2022