Server Class aseodbc

A server with server class aseodbc is an Adaptive Server Enterprise (version 10 and later) database server.

The database server requires the installation of the Adaptive Server Enterprise ODBC driver and Open Client connectivity libraries to connect to a remote Adaptive Server Enterprise server with class aseodbc, but the performance is better than with the ASEJDBC class.

Notes:

Data Type Conversions: ODBC and Adaptive Server Enterprise

When you issue a CREATE TABLE statement, the database server automatically converts the data types to the corresponding Adaptive Server Enterprise data types. The following table describes the SAP Sybase IQ to Adaptive Server Enterprise data type conversions.

SAP Sybase IQ Data Type Adaptive Server Enterprise Default Data Type
BIT bit
TINYINT tinyint
SMALLINT smallint
INT int
INTEGER integer
DECIMAL [defaults p=30, s=6] numeric(30,6)
DECIMAL(128,128) not supported
NUMERIC [defaults p=30 s=6] numeric(30,6)
NUMERIC(128,128) not supported
FLOAT real
REAL real
DOUBLE float
SMALLMONEY numeric(10,4)
MONEY numeric(19,4)
DATE datetime
TIME datetime
TIMESTAMP datetime
SMALLDATETIME datetime
DATETIME datetime
**BIGDATE datetime
**BIGDATETIME datetime
CHAR(n) varchar(n)
CHARACTER(n) varchar(n)
VARCHAR(n) varchar(n)
CHARACTER VARYING(n) varchar(n)
LONG VARCHAR text
TEXT text
BINARY(n) binary(n)
LONG BINARY image
BIGINT numeric(20,0)