The following sections list class-level translations for Adaptive Server datatypes to Oracle datatypes, Oracle datatypes to Adaptive Server datatypes, and Oracle datatypes to datatypes of other supported non-ASE data servers.
Table A-11 lists class-level translations from Adaptive Server datatypes to Oracle datatypes.
Adaptive Server datatype |
Oracle datatype |
---|---|
bigdatetime |
TIMESTAMP (9) |
bigint |
NUMBER |
bigtime |
TIMESTAMP (9) |
binary |
RAW |
date |
DATE |
datetime |
DATE (with time) |
money |
DECIMAL |
smalldatetime |
DATE |
smallmoney |
DECIMAL |
time |
DATE (with time) |
unsigned tinyint |
SMALLINT |
unsigned smallint |
INTEGER |
unsigned int |
NUMBER |
unsigned bigint |
NUMBER |
unitext |
NCLOB |
varbinary |
RAW |
Table A-12 lists class-level translations from Oracle datatypes to Adaptive Server datatypes.
Oracle datatype |
Adaptive Server datatype |
---|---|
RAW |
varbinary |
DATE |
datetime |
TIMESTAMP (9) |
datetime |
Table A-13 lists class-level translations from Oracle datatypes to DB2 datatypes.
Oracle datatype |
DB2 datatype |
---|---|
RAW |
CHAR FOR BIT DATA |
DATE |
DATE |
DATE (with time) |
TIMESTAMP |
FLOAT |
DOUBLE (UNIX and Windows only) |
INTEGER |
INTEGER (UNIX and Windows only) |
TIMESTAMP (9) |
TIMESTAMP (UNIX and Windows only) |
Table A-14 lists class-level translations from Oracle datatypes to Microsoft SQL Server datatypes.
Oracle datatype |
Microsoft SQL Server datatype |
---|---|
RAW |
varbinary |
DATE |
datetime |
TIMESTAMP (9) |
datetime |