Database Ingestion and Replication > Default data-type mappings > SAP HANA Source and Microsoft SQL Server Target
  

SAP HANA Source and Microsoft SQL Server Target

The following table identifies the recommended data-type mappings for Database Ingestion and Replication configurations with an SAP HANA or SAP HANA Cloud source and a Microsoft SQL Server target:
SAP HANA Source Data Type
Microsoft SQL Server Target Data Type
alphanum(precision), 1 <= p <= 127
varchar(size), 1 <= size <= 127
array
varbinary(max)
bigint
bigint
binary(size), 1 <= size <= 2000
varbinary(size), 1 <= size <= 2000
boolean
bit
char(size), 1 <= size <= 2000
varchar(size), 1 <= size <= 2000
date
date
decimal
char(255)
decimal(p,s), 1 <= p <= 38, 0 <= s <= 38
decimal(p,s), 1 <= p <= 38, 0 <= s <= 38
double
float
float
float
integer
int
nchar(size), 1 <= size <= 2000
nvarchar(size), 4 <= size <= 8000
nvarchar(size), 1 <= size <= 5000
nvarchar(size), 4 <= size <= max
real
real
real
real
seconddate
datetime2(0)
shorttext(precision), 1 <= p <= 5000
varchar(size), 1 <= size <= 5000
smalldecimal
char(255)
smallint
smallint
st_geometry
varbinary(max)
st_point
varbinary(max)
time
time(0)
timestamp
datetime2(precision), 0 <= p <= 7
tinyint
tinyint
varbinary(size), 1 <= size <= 5000
varbinary(size), 1 <= size <= 5000
varchar(size), 1 <= size <= 5000
varchar(size), 1 <= size <= 5000
Unsupported source data types:
Database Ingestion and Replication replicates only nulls for columns that have these unsupported data types.
Note: Some unsupported data types might appear in the default mappings. However, nulls are replicated for these mappings.