Oracle class-level translations

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.

Adaptive Server to Oracle datatypes

Table A-11 lists class-level translations from Adaptive Server datatypes to Oracle datatypes.

Table A-11: Class-level translation from Adaptive Server to Oracle datatypes

Adaptive Server datatype

Oracle datatype

bigint

NUMBER

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

Oracle to Adaptive Server Datatypes

Table A-12 lists class-level translations from Oracle datatypes to Adaptive Server datatypes.

Table A-12: Class-level translation from Oracle to Adaptive Server datatypes

Oracle datatype

Adaptive Server datatype

RAW

varbinary

DATE

datetime

TIMESTAMP (9)

datetime

Oracle to DB2 datatypes

Table A-13 lists class-level translations from Oracle datatypes to DB2 datatypes.

Table A-13: Class-level translation from Oracle 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)

Oracle to Microsoft SQL Server datatypes

Table A-14 lists class-level translations from Oracle datatypes to Microsoft SQL Server datatypes.

Table A-14: Class-level translation from Oracle to Microsoft SQL Server datatypes

Oracle datatype

Microsoft SQL Server datatype

RAW

varbinary

DATE

datetime

TIMESTAMP (9)

datetime