sqlserver测试数据类型

  • 数值类型:bit,tinyint,smallint,int,decimal,numeric,float,real
  • 货币类型:smallmoney,money
  • 字符串类型:char,varchar,nchar,nvarchar,text,ntext
  • 二进制类型:binary,varbinary,image
  • 日期类型:Smalldatetime,datetime,
  • 特殊类型:geography,geometry,hierarchyid,sql_variant,cursor,Uniqueidentifier,timestamp
支持类型列表 转成ZCBUS类型列表 目标oracle类型 目标mysql类型 目标postgres类型 是否支持
bigint BIGINTEGER number bigint int8
int INTEGER number int int4
smallint INTEGER number int int4
tinyint INTEGER number int int4
real FLOAT8 number double float8
float[(n)] FLOAT8 number double float8
decimal[(p[,s])] FLOAT8 number decimal numeric
numeric[(p[,s]) FLOAT8 number decimal numeric
char(max) CHAR char varchar bpchar
varchar(max) VARCHAR clob longblob varchar
nchar(n) CHAR nchar varchar bpchar
nvarchar(max) VARCHAR nclob longtext varchar
date DATE date date date
time TIME varchar2 time time
datetime DATETIME date datetime timestamp
datetime2 DATETIME timestamp datetime timestamp
smalldatetime DATETIME timestamp datetime timestamp
datetimeoffset VARCHAR varchar2(128) varchar varchar
text TEXT clob longtext text
ntext TEXT nclob longtext text
image BLOB blob longblob bytea
money FLOAT8 number double float8
smallmoney FLOAT4 number double float8
bit INTEGER varchar2(16) varchar2 varchar
binary(n) BINARY raw varbinary bytea
varbinary(nmax) BINARY varchar2 longblob bytea
timestamp VARBINARY(8) raw varbinary bytea
uniqueidentifier VARCHAR varchar2 varchar varchar
xml TEXT clob text text
文档更新时间: 2021-09-22 03:07   作者:刘志伟