Replicating datatypes for IBM DB2 UDB

This section lists the datatypes supported and unsupported by ECDA 15.0 ESD #3 for replicating into and out of IBM DB2 UDB.

Replicating datatypes into IBM DB2 UDB

Table 7 lists the Sybase datatypes supported and unsupported by ECDA 15.0 ESD #3 for replicating into IBM DB2 UDB.

Table 7: Supported and unsupported Sybase datatypes

Datatype

Supported

Unsupported

Sybase

bigint

bigdatetime

integer

bigtime

smallint

image

tinyint

text

decimal

unitext

numeric

unsigned bigint

unsigned integer

unsigned smallint

unsigned tinyint

unichar

univarchar

float

double

real

money

smallmoney

date

time

datetime

smalldatetime

timestamp

char

nchar

varchar

nvarchar

binary

varbinary

bit

sysname (same as varchar(30))

longsysname (same as varchar(255))

user-defined datatypes (as underlying type)

Table 8 lists the IBM DB2 UDB datatypes supported and unsupported by ECDA 15.0 ESD #3 for replicating into IBM DB2 UDB.

Table 8: Supported and unsupported IBM DB2 UDB datatypes

Datatypes

Supported

Unsupported

IBM DB2 UDB

bigint

blob

graphic

clob

vargraphic

dbclob

decfloat (for replication only, not gateway)

long varchar

smallint

long vargraphic

integer

ROWID

decimal

long varchar for bit data

real

xml

double

user-defined datatypes

time

timestamp

date

char

varchar

char for bit data

varchar for bit data

float

NoteThe decfloat datatype is supported only in a replication environment (not for gateway or any other ECDA use).

Replicating datatypes out of IBM DB2

Table 9 lists the IBM DB2 UDB datatypes that are supported and not supported by Replication Agent for replicating out of IBM DB2.

Table 9: Supported and unsupported IBM DB2 UDB datatypes

Datatypes

Supported

Unsupported

IBM DB2 UDB

bigint

ROWID

char

user-defined datatypes

char for bit data

xml

blob

clob

date

dbclob

decfloat

decimal

double

float

graphic

integer

long varchar

long varchar for bit data

long vargraphic

real

smallint

time

timestamp

varchar

varchar for bit data

vargraphic

IBM DB2 UDB 9.5 support limitations

Replication Agent does not support these features of IBM DB2 UDB 9.5: