Supported Data Types

The second column for SQL Server and Oracle datatypes shows what the data type is converted to. I’m currently working on a solution to set theĀ conversion information in a config file.

SQL Server Data Types

SQL Server typeACopy typeComment
varcharVarchar / LongTextIf length is -1 (max), then LongText
charChar
nvarcharString / LongTextIf length is -1 (max), then LongText
bitBool
tinyintInt8
smallintInt16
intInt
bigintInt64
decimalFloat / MoneyIf prec = 28 and scale = 3, then Money
datetimeDateTime
datetime2DateTime
uniqueidentifierGuid
varbinary(-1)RawOBS: Other lengths for varbinary is not supported.

Oracle Data Types

Oracle data typeACopy data typeComment
varcharVarchar
varchar2Varchar
charVarchar
clobLongText
integerInt
number (1,0)Bool
number(3,5)Int8
number(5,0)Int16
number(20,0)Int64
number(x,0)Intx not in (1, 3, 5, 20)
number(18,2)Money
number(30,3)Money
number(x,y)Floaty!=0 and !(x=18 and y=2) and !(x=30 and y=3)
floatFloat
dateDateTime
raw(x)Guidx in (16, 32, 17, 34)
OBS: No other raw is currently supported
blobRaw
long rawRaw

ACopy Data Types

ACopy data typeDescription
Varchar
Char
String
LongTextEquivalent to clob and varchar(max) for Oracle and SQL Server.
Bool
Int8
Int16
Int
Int64
MoneyNumbers are rounded to 2 or 3 decimals.
FloatA number with high precision and scale. E.g. decimal(28,8).
DateTime
Guid
RawBlob (byte array)
IdentityCurrently only used to handle identity columns in SQL Server.