MS SQL Server data type
|
OpenEdge data type equivalent1
|
integer
|
INTEGER
(DECIMAL)
(LOGICAL)
(INT64)
|
bigint
|
INT64
(DECIMAL)
(INTEGER)
|
smallint
|
INTEGER
(DECIMAL)
(LOGICAL)
(INT64)
|
tinyint
|
INTEGER
(DECIMAL)
(LOGICAL)
(INT64)
|
decimal
|
DECIMAL
(INTEGER)
(INT64)
|
numeric
|
DECIMAL
(INTEGER)
(INT64)
|
float
|
DECIMAL
(INTEGER)
(INT64)
|
double precision
|
DECIMAL
(INTEGER)
(INT64)
|
real
|
DECIMAL
(INTEGER)
(INT64)
|
char
|
CHARACTER2
|
nchar
|
CHARACTER3
|
varchar
|
CHARACTER4
|
nvarchar
|
CHARACTER5
|
text 6
|
CHARACTER7
CLOB8
|
varchar(max)
|
CLOB11
|
ntext12
|
CHARACTER13
CLOB14
|
nvarchar(max)
|
CLOB17
|
money
|
DECIMAL
(INTEGER)
|
smallmoney
|
DECIMAL
(INTEGER)
|
date18
|
DATE
(DATETIME)
(DATETIME-TZ)
(CHARACTER)19
|
time20
|
CHARACTER21
(DATETIME )
|
datetime
|
DATE
(CHARACTER)22
|
datetime223
|
DATETIME
(DATE)
(DATETIME-TZ)
(CHARACTER)24
|
smalldatetime
|
DATE
(CHARACTER)25
|
datetimeoffset26
|
DATETIME-TZ
(DATETIME)
(DATE)
(CHARACTER)27
|
binary
|
CHARACTER28
|
varbinary
|
CHARACTER29
|
varbinary(max) 30
|
BLOB33
|
image34
|
|
bit
|
LOGICAL
|
timestamp
|
|
identity 39
|
Depends on underlying type40
|
uniqueidentifier
|
|
computed columns
|
Depends on underlying type43
|
cursor
|
Not supported44
|
sql_variant
|
Not supported45
|
geometry
|
Not supported46
|
geography
|
Not supported47
|
hierarchyid
|
Not supported48
|
raw
|
Not supported49
|