Microsoft Azure Synapse SQLコネクタ > データ型リファレンス > Microsoft Azure Synapse SQLとトランスフォーメーションデータ型
  

Microsoft Azure Synapse SQLとトランスフォーメーションデータ型

以下の表は、Microsoft Azure Synapse SQLのネイティブデータ型とトランスフォーメーションデータ型の対応を示しています。
Microsoft Azure Synapse SQLデータ型
トランスフォーメーションデータ型
範囲と内容
bigint
bigint
-9,223,372,036,854,770,000~9,223,372,036,854,770,000
binary
binary
1~8000バイト
bit
integer
0、1、NULL
char
string
1~8000文字
date
date/time
1753年1月1日00:00:00~9999年12月31日
datetime
date/time
1753年1月1日00:00:00~9999年12月31日23:59:59.997
datetime2
date/time
1~8000文字
詳細モードのマッピングを作成する際、datetime2フィールドの小数秒は、最大6桁までしかターゲットに書き込まれません。
datetimeoffset
string
decimal
decimal
マッピングに対して28ビットの精度と0〜5のスケールを持つ数値。
注: テーブルに28ビットを超える精度の10進数カラムが定義されており、テーブルに28ビット未満のデータが含まれている場合、データの破損が発生する可能性があります。
詳細モードのマッピングに対して38ビットの精度と0〜5のスケールを持つ数値。
float
decimal
精度7、位取り0〜7
int
integer
-2,147,483,648~2,147,483,647
money
decimal
-922,337,203,685,477.0000~922,337,203,685,477.0000
nchar
string
1~8000文字
nvarchar
string
1~4000文字
real
double
精度7、位取り0〜7
smalldatetime
date/time
1900年1月1日0:00~2079年6月6日23:59
smallint
integer
-32,768~32,767
smallmoney
decimal
-214,748.3648~214,748.3647
time
string
00:00:00.0000000 - 23:59:59.9999999
tinyint
integer
0~255
Uniqueidentifier
string
0~36文字
varbinary
binary
1~8000バイト
varchar
string
1~8000文字

データ型のルールとガイドライン