Data Type Mapping for Azure Synapse Analytics
This section lists the mapping of data types for Azure Synapse Analytics.
Azure Synapse Analytics as Target
When Azure Synapse Analytics is used as a target location, following is the mapping of HVR repository data types to the corresponding data type in Azure Synapse Analytics.
Text in green cell indicates the native data type of the DBMS
HVR Repository Data Types | Attributes | Azure Synapse Analytics |
---|---|---|
ansidate (ingres) | null=1 | date |
ansidate | null=1 | date |
bfile | null=1 | varbinary(max) |
bigint unsigned |
bytelen=8
null=1 | numeric(20) |
bigint |
bytelen=8
null=1 | bigint |
binary |
bytelen=10
null=1 | binary(10) |
binary_double |
bytelen=8
null=1 | float |
binary_float |
bytelen=4
null=1 | real |
bit (mysql) |
bitlen=32
null=1 | varchar(32) |
bit |
bytelen=1
null=1 | bit |
blob | null=1 | varbinary(max) |
bool |
bytelen=1
null=1 | bit |
boolean |
bytelen=1
null=1 | bit |
byte varying |
bytelen=10
null=1 | varbinary(10) |
byte |
bytelen=10
null=1 | binary(10) |
byteint |
bytelen=1
null=1 | smallint |
c |
bytelen=10
encoding=UTF-8 null=1 | char(10) |
char |
bytelen=10
encoding=UTF-8 null=1 | char(10) |
char |
bytelen=4000
encoding=UTF-8 null=1 | char(4000) |
char |
bytelen=8000
encoding=UTF-8 null=1 | char(8000) |
char |
bytelen=40
charlen=10 encoding=UTF-8 null=1 | char(10) |
char |
bytelen=10
encoding=WINDOWS-1252 null=1 | char(10) |
char (oracle) |
bytelen=10
encoding=UTF-8 null=1 | char(10) |
char (oracle) |
bytelen=2000
encoding=UTF-8 null=1 | char(2000) |
char (oracle) |
bytelen=40
charlen=10 encoding=UTF-8 null=1 | char(10) |
char (oracle) |
bytelen=10
encoding=WINDOWS-1252 null=1 | char(10) |
clob |
encoding=UTF-8
null=1 | varchar(max) |
date | null=1 | datetime2(0) |
date (hana) | null=1 | date |
date (mysql) | null=1 | date |
date (sybase) | null=1 | date |
datetime (bigquery) |
prec_sec=0
null=1 | datetime2(0) |
datetime (mysql) |
prec_sec=0
null=1 | datetime2(0) |
datetime (sybase) | null=1 | datetime2(3) |
datetime | null=1 | datetime |
datetime2 |
prec_sec=0
null=1 | datetime2(0) |
datetimeoffset |
prec_sec=0
null=1 | datetimeoffset(0) |
db2 timestamp with time zone |
prec_sec=0
null=1 | datetimeoffset(0) |
db2 xml |
encoding=UTF-8
null=1 | varchar(max) |
dbclob |
charlen=0
null=1 | nvarchar(max) |
decfloat |
prec=16
null=1 | varchar(42) |
decfloat |
prec=34
null=1 | varchar(42) |
decimal |
prec=10
scale=3 null=1 | numeric(10,3) |
decimal |
prec=6
null=1 | numeric(6) |
double |
bytelen=8
null=1 | float |
epoch |
prec_sec=0
null=1 | datetime2(0) |
float |
bytelen=8
null=1 | float |
float4 |
bytelen=4
null=1 | real |
float8 |
bytelen=8
null=1 | float |
float64 |
bytelen=8
null=1 | float |
graphic |
charlen=10
null=1 | nchar(10) |
image | null=1 | varbinary(max) |
image (sybase) | null=1 | varbinary(max) |
ingresdate | null=1 | datetime2(0) |
int unsigned |
bytelen=4
null=1 | bigint |
int |
bytelen=4
null=1 | int |
integer |
bytelen=4
null=1 | int |
integer1 |
bytelen=1
null=1 | smallint |
integer2 |
bytelen=2
null=1 | smallint |
integer4 |
bytelen=4
null=1 | int |
integer8 |
bytelen=8
null=1 | bigint |
int64 |
bytelen=8
null=1 | bigint |
interval day to second (ingres) |
prec_sec=0
null=1 | datetime2(0) |
interval day to second |
prec_sec=0
prec_day=0 null=1 | datetime2(0) |
interval month to second |
prec_sec=0
null=1 | datetime2(0) |
interval year to month (ingres) | null=1 | datetime2(0) |
interval year to month |
prec_year=0
null=1 | datetime2(0) |
json | null=1 | varchar(max) |
jsonb | null=1 | varchar(max) |
long byte | null=1 | varbinary(max) |
long char |
encoding=UTF-8
null=1 | varchar(max) |
long nvarchar (db2) |
charlen=0
null=1 | nvarchar(max) |
long nvarchar |
charlen=0
null=1 | nvarchar(max) |
long raw | null=1 | varbinary(max) |
long varbinary | null=1 | varbinary(max) |
long varchar (db2) |
encoding=UTF-8
null=1 | varchar(max) |
long varchar |
encoding=UTF-8
null=1 | varchar(max) |
long |
encoding=UTF-8
null=1 | varchar(max) |
mediumint unsigned |
bytelen=3
null=1 | int |
mediumint |
bytelen=3
null=1 | int |
money (ingres) | null=1 | money |
money | null=1 | money |
nchar |
charlen=10
null=1 | nchar(10) |
nchar (oracle) |
bytelen=20
charlen=10 null=1 | nchar(10) |
nclob |
charlen=0
null=1 | nvarchar(max) |
ntext |
charlen=0
null=1 | nvarchar(max) |
number |
scale=0
null=1 | numeric(38,4) |
number |
prec=10
scale=-127 null=1 | float |
number |
prec=10
scale=3 null=1 | numeric(10,3) |
number |
prec=26
scale=0 null=1 | numeric(26) |
number |
prec=6
scale=0 null=1 | int |
numeric (db2i) |
prec=10
scale=3 null=1 | numeric(10,3) |
numeric (db2i) |
prec=6
null=1 | numeric(6) |
numeric |
prec=10
scale=3 null=1 | numeric(10,3) |
numeric |
prec=26
null=1 | numeric(26) |
numeric |
prec=6
null=1 | numeric(6) |
nvarchar |
charlen=10
null=1 | nvarchar(10) |
nvarchar(max) |
charlen=0
null=1 | nvarchar(max) |
nvarchar2 |
charlen=10
null=1 | nvarchar(10) |
postgres date | null=1 | date |
postgres timestamp with time zone |
prec_sec=0
null=1 | datetimeoffset(0) |
postgres timestamp |
prec_sec=0
null=1 | datetime2(0) |
raw |
bytelen=10
null=1 | varbinary(10) |
real |
bytelen=4
null=1 | real |
rowid |
bytelen=18
charlen=18 encoding=US-ASCII null=1 | char(18) |
rowversion |
bytelen=10
null=1 | binary(10) |
smalldatetime | null=1 | smalldatetime |
smallint unsigned |
bytelen=2
null=1 | int |
smallint |
bytelen=2
null=1 | smallint |
smallmoney | null=1 | smallmoney |
text (ingres) |
bytelen=10
encoding=UTF-8 null=1 | varchar(10) |
text (sqlserver) |
encoding=WINDOWS-1252
null=1 | varchar(max) |
text(sybase) |
encoding=UTF-8
null=1 | varchar(max) |
time (mysql) |
prec_sec=0
null=1 | time(0) |
time (hana) | null=1 | time(0) |
time (sybase) | null=1 | time(3) |
time with local time zone |
prec_sec=0
null=1 | time(0) |
time with time zone |
prec_sec=0
null=1 | time(0) |
time |
prec_sec=0
null=1 | time(0) |
time |
prec_sec=3
null=1 | time(3) |
time2 | null=1 | time(0) |
timestamp (bigquery) |
prec_sec=0
null=1 | datetimeoffset(0) |
timestamp (db2) |
prec_sec=0
null=1 | datetime2(0) |
timestamp (hana) |
prec_sec=0
null=1 | datetime2(0) |
timestamp (ingres) |
prec_sec=0
null=1 | datetime2(0) |
timestamp (mysql) |
prec_sec=0
null=1 | datetime2(0) |
timestamp (oracle) |
prec_sec=0
null=1 | datetime2(0) |
timestamp (sqlserver) |
bytelen=10
null=1 | binary(10) |
timestamp (sybase) |
bytelen=10
null=1 | varbinary(10) |
timestamp with local time zone |
prec_sec=0
null=1 | datetime2(0) |
timestamp with local tz (oracle) |
prec_sec=0
null=1 | datetime2(0) |
timestamp with time zone |
prec_sec=0
null=1 | datetimeoffset(0) |
timestamp with tz (oracle) |
prec_sec=0
null=1 | datetimeoffset(0) |
timestamp |
prec_sec=0
null=1 | datetime2(0) |
tinyint signed |
bytelen=1
null=1 | smallint |
tinyint unsigned |
bytelen=1
null=1 | tinyint |
tinyint |
bytelen=1
null=1 | tinyint |
uniqueidentifier |
bytelen=16
null=1 | uniqueidentifier |
unitext |
charlen=0
null=1 | nvarchar(max) |
univarchar |
charlen=10
null=1 | nvarchar(10) |
unsigned bigint |
bytelen=8
null=1 | numeric(20) |
unsigned int |
bytelen=4
null=1 | bigint |
unsigned smallint |
bytelen=2
null=1 | int |
urowid |
bytelen=100
charlen=100 encoding=US-ASCII null=1 | varchar(100) |
varbinary |
bytelen=10
null=1 | varbinary(10) |
varbinary (sybase) |
bytelen=10
null=1 | varbinary(10) |
varbinary(max) | null=1 | varbinary(max) |
varbyte |
bytelen=10
null=1 | varbinary(10) |
varchar |
bytelen=10
encoding=UTF-8 null=1 | varchar(10) |
varchar |
bytelen=8000
encoding=UTF-8 null=1 | varchar(8000) |
varchar |
bytelen=40
charlen=10 encoding=UTF-8 null=1 | varchar(10) |
varchar |
bytelen=10
encoding=WINDOWS-1252 null=1 | varchar(10) |
varchar (sybase) |
bytelen=10
encoding=UTF-8 null=1 | varchar(10) |
varchar (sybase) |
bytelen=8000
encoding=UTF-8 null=1 | varchar(8000) |
varchar (sybase) |
bytelen=40
charlen=10 encoding=UTF-8 null=1 | varchar(10) |
varchar (sybase) |
bytelen=10
encoding=WINDOWS-1252 null=1 | varchar(10) |
varchar(max) |
encoding=WINDOWS-1252
null=1 | varchar(max) |
varchar2 |
bytelen=10
encoding=UTF-8 null=1 | varchar(10) |
varchar2 |
bytelen=40
charlen=10 encoding=UTF-8 null=1 | varchar(10) |
varchar2 |
bytelen=10
encoding=WINDOWS-1252 null=1 | varchar(10) |
vargraphic |
charlen=10
null=1 | nvarchar(10) |
xml |
charlen=0
null=1 | nvarchar(max) |
year (mysql) | null=1 | smallint |