我是靠谱客的博主 昏睡树叶,最近开发中收集的这篇文章主要介绍DM8达梦数据库:DTS数据迁移工具异构数据库数据类型映射,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

DM8达梦数据库:DTS数据迁移工具异构数据库数据类型映射

DM 数据迁移工具 > 数据类型映射
默认数据类型映射关系
系统对应各迁移选项给出默认的数据类型映射关系。

1.ORACLE 到 DM

ORACLEDM注释
VARCHAR2VARCHAR2
NVARCHAR2NVARCHAR
NCHARCHAR
LONGTEXT
RAWVARBINARY
LONG RAWLONGVARBINARY
NCLOBCLOB
DATETIMESTAMP
INTERVALDSINTERVAL DAY TO SECOND
INTERVALYMINTERVAL YEAR TO MONTH
ROWIDBINARY
NROWIDVARBINARY
UROWIDVARBINARY
REFLONGVARBINARY
STRUCTLONGVARBINARY
ARRAYLONGVARBINARY
STRUCTLONGVARBINARY
ARRAYLONGVARBINARY
AQ$_SUBSCRIBERSLONGVARBINARY
BOOLBIT
BOOLEANBIT
XMLTYPECLOB
SYS.XMLTYPECLOB
BINARY_FLOATFLOAT
BINARY_DOUBLEDOUBLE
NUMBERNUMBER如果精度为126标度为-127,则映射为FLOAT;如果精度为63标度-127,则映射为REAL;否则映射为NUMBER

2.SYBASE 到 DM

SYBASEDM注释
NCHARCHAR
NCHARCHARVARCHAR
NTEXTTEXT
TINYINTSMALLINT
UNIQUEIDENTIFIERVARCHAR
TIMESTAMPVARBINARY
SMALLDATETIMETIMESTAMP
DATETIMETIMESTAMP
SMALLMONEYNUMERIC
SQL_VARIANTTEXT
MONEYDECIMAL
BOOLBIT
BOOLEANBIT
UNIVARCHARVARCHAR
UNICHARCHAR
UNSIGNEDBIGINT NUMBER
UNSIGNED INTNUMBER
UNSIGNED SMALLINTNUMBER
UNITEXTTEXT

3.INFORMIX 到 DM

INFORMIXDM注释
BOOLEANBIT
INT8NUMBER
LVARCHARVARCHAR
MONEYNUMBER
NCHARCHAR
NVARCHARVARCHAR
SERIALINT
SERIAL8NUMBER
SMALLFLOATFLOAT

4.SQLSERVER 到 DM

SQLSERVERDM注释
NCHARCHAR
NVARCHARVARCHAR
NTEXTTEXT
TINYINTSMALLINT
UNIQUEIDENTIFIERVARCHAR
TIMESTAMPBINARY
SMALLDATETIMETIMESTAMP
DATETIMETIMESTAMP
DATETIME2TIMESTAMP
SMALLMONEYNUMERIC
SQL_VARIANTTEXT
MONEYDECIMAL
MONEYDECIMAL
BOOLBIT
BOOLEANBIT
XMLTEXT
SYSNAMEVARCHAR
DATETIMEOFFSETTIMESTAMP WITH TIME ZONE

5.postgreSQL 到 DM

postgreSQLDM注释
FLOAT4FLOAT
FLOAT8FLOAT
INT2SMALLINT
INT4INT
INT8BIGINT
BPCHARCHAR
TIMETZTIME WITH TIME ZONE
TIMESTAMPTZTIMESTAMP WITH TIME ZONE
REGPROCVARCHAR(100)
NAMEVARCHAR(100)
XIDINT
BOOLBIT
BOOLEANBIT
BYTEABLOB
XMLTEXT
CHARACTERVARYING VARCHAR
ABSTIMETIMESTAMP WITH TIME ZONE
SERIALINT
BIGSERIALBIGINT
TSQUERYTEXT
UUIDVARCHAR
CIRCLEVARCHAR
POLYGONTEXT
PATHTEXT
BOXVARCHAR
LSEGVARCHAR
LINEVARCHAR
POINTVARCHAR
TSVECTORTEXT
BITBINARY
VARBITVARBINARY
MACADDRVARCHAR
INETVARCHAR
CIDRVARCHAR
MONEYNUMBER
INTERVAL类型VARCHAR(100)

6.DB2 到 DM

DB2DM注释
DECDECIMAL
DBCLOBCLOB
DBLINKVARBINARY
ROWIDBINARY
GRAPHICCHAR
VARGRAPHICTEXT
DATALINKVARBINARY
LONG VARCHAR FOR BIT DATAVARBINARY
LONG VARCHARTEXT
VARCHAR () FOR BIT DATAVARBINARY
CHAR () FOR BIT DATAVARBINARY
LONG VARGRAPHICTEXT
XMLTEXT

7.Mysql 到 DM

MysqlDM注释
SETCHAR
ENUMCHAR
MEDIUMINTINT
DATETIMETIMESTAMP
YEARCHAR
MEDIUMBLOBBLOB
LONGBLOBBLOB
TINYBLOBBLOB
TINYTEXTCLOB
MEDIUMTEXTCLOB
LONGTEXTCLOB
LONGVARCHARCLOB
TINYINT UNSIGNEDINT
SMALLINT UNSIGNEDINT
MEDIUMINT UNSIGNEDINT
INT UNSIGNEDBIGINT
INTEGER UNSIGNEDBIGINT
BIGINT UNSIGNEDDECIMAL
BOOLBIT
BOOLEANBIT

8.kingbase 到 DM

kingbaseDM注释
FLOAT4FLOAT
FLOAT8FLOAT
INT2SMALLINT
INT4INT
BOOLEANBIGINT
BPCHARCHAR
BYTEAIMAGE
BOOLEANBIT
XMLTEXT

9.ShenTong 到 DM

ShenTongDM注释
INT1TINYINT
INT2SMALLINT
INT4INT
INT8BIGINT
FLOAT4REAL
FLOAT8DOUBLE
BOOLBIT
BOOLEANBIT
XMLCLOB

最后

以上就是昏睡树叶为你收集整理的DM8达梦数据库:DTS数据迁移工具异构数据库数据类型映射的全部内容,希望文章能够帮你解决DM8达梦数据库:DTS数据迁移工具异构数据库数据类型映射所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(62)

评论列表共有 0 条评论

立即
投稿
返回
顶部