Learn about the datatypes supported and unsupported for replicating into and out of IBM DB2 UDB.
These Sybase datatypes are supported or unsupported by ECDA 15.0.1 for replicating into IBM DB2 UDB.
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)) |
||
UDDs (as underlying type) |
These IBM DB2 UDB datatypes are supported or unsupported by ECDA 15.0.1 for replicating into IBM DB2 UDB.
Datatypes |
Supported |
Unsupported |
---|---|---|
IBM DB2 UDB |
bigint |
blob |
graphic |
clob |
|
vargraphic |
dbclob |
|
decfloat (for replication only, not gateway) |
long varchar |
|
smallint |
long vargraphic |
|
float |
ROWID |
|
integer |
long varchar for bit data |
|
decimal |
xml |
|
real |
UDDs |
|
double |
||
time |
||
timestamp |
||
date |
||
char |
||
varchar |
||
char for bit data |
||
varchar for bit data |
These IBM DB2 UDB datatypes are supported or unsupported by Replication Agent for replicating out of IBM DB2 UDB.
Datatypes |
Supported |
Unsupported |
---|---|---|
IBM DB2 UDB |
bigint |
ROWID |
char |
UDDs |
|
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 |
Replication of XML datatype
When replicating DECFLOAT columns from UDB to other databases that do not support DECFLOAT or an equivalent datatype, DECFLOAT is mapped to FLOAT, which may cause a loss of precision.
Replication Agent does not support replication of DECFLOAT special values such as positive and negative INFINITY, NAN, and SNAN. Replication Agent replicates these values to NULL if the column is nullable, or 0.0 if the column is not nullable.