Database Ingestion and Replication > Default data-type mappings > Db2 for i Source and Microsoft Azure Synapse Analytics Target
  

Db2 for i Source and Microsoft Azure Synapse Analytics Target

The following table identifies the recommended data-type mappings for Database Ingestion and Replication configurations with a Db2 for i source and a Microsoft Azure Synapse Analytics target:
Db2 for i Source Data Type
Microsoft Azure Synapse Analytics Target Data Type
bigint
bigint
binary(size), 1 <= size <= 8000
binary(size), 1 <= size <= 8000
binary(size), 8001 <= size <= 32766
varbinary(max)
char(size) for bit data, 1 <= size <= 8000
binary(size), 1 <= size <= 8000
char(size) for bit data, 8001 <= size <= 32766
varbinary(max)
char(size), 1 <= size <= 8000
char(size), 1 <= size <= 8000
char(size), 8001 <= size <= 32766
varchar(max)
date
date
decfloat(precision), 16 <= p <= 34
varchar(255)
decimal(p,s), 1 <= p <= 38, 0 <= s <= 38
decimal(p,s), 1 <= p <= 38, 0 <= s <= 38
decimal(p,s), 39 <= p <= 63, 0 <= s <= 62
char(size), 40 <= size <= 65
float
float
integer
int
long varbinary
varbinary(max)
long varchar
varchar(max)
long varchar for bit data
varbinary(max)
numeric(p,s), 1 <= p <= 38, 0 <= s <= 38
decimal(p,s), 1 <= p <= 38, 0 <= s <= 38
numeric(p,s), 39 <= p <= 63, 0 <= s <= 62
char(size), 40 <= size <= 65
real
real
rowid
varbinary(40)
smallint
smallint
time
time(0)
timestamp(precision), 0 <= p <= 7
datetime2(precision), 0 <= p <= 7
timestamp(precision), 8 <= p <= 12
char(size), 28 <= size <= 32
varbinary(size), 1 <= size <= 32740
varbinary(size), 1 <= size <= max
varchar(size) for bit data, 1 <= size <= 32740
varbinary(size), 1 <= size <= max
varchar(size), 1 <= size <= 32740
varchar(size), 1 <= size <= max
Unsupported source data types
Database Ingestion and Replication does not support the following Db2 for i data types:
Database ingestion and replication jobs propagate nulls for columns that have these data types.