tinguo002

 

SqlServer 2k转换为Oracle 10g

转载自:http://blog.csdn.net/heng_2679/article/details/7014778
SqlServer 2k转换为Oracle 10g

列名SqlServer数据类型SqlServer长度Oracle数据类型
column1bigint8 NUMBER(19)
column2binary50 RAW(50)
column3bit1 NUMBER(2)
column4char10 CHAR(10)
column5datetime8 DATE
column6decimal9 NUMBER(18)
column7float8 BINARY_DOUBLE
column8image16 BLOB
column9int4 NUMBER(10)
column10money8 NUMBER(19,4)
column11nchar10 NCHAR(10)
column12ntext16 NCLOB
column13numeric9 NUMBER(18)
column14nvarchar50 NVARCHAR2(50)
column15real4 BINARY_FLOAT
column16smalldatetime4 DATE
column17smallint2 NUMBER(5)
column18smallmoney4 NUMBER(10,4)
column19sql_variant BLOB
column20text16 CLOB
column21timestamp8 RAW(8)
column22tinyint1 NUMBER(3)
column23uniqueidentifier16 BLOB
column24varbinary50 RAW(50)
column25varchar50 VARCHAR2(50)


Oracle 10g 转换为SqlServer 2k

Oracle列名Oracle数据类型SqlServer列名SqlServer数据类型SqlServer数据长度
COLUMN1BINARY_DOUBLECOLUMN1float8
COLUMN2BINARY_FLOATCOLUMN2real4
COLUMN3BLOBCOLUMN3image16
COLUMN4CLOBCOLUMN4ntext16
COLUMN5CHAR(10)COLUMN5nchar10
COLUMN6DATECOLUMN6datetime8
COLUMN12NUMBERCOLUMN12numeric13
COLUMN13NVARCHAR2(10)COLUMN13nvarchar10
COLUMN14RAW(10)COLUMN14varbinary10
COLUMN15TIMESTAMP(6)COLUMN15datetime8
COLUMN16TIMESTAMP(6) WITH LOCAL TIME ZONECOLUMN16datetime8
COLUMN17TIMESTAMP(6) WITH TIME ZONECOLUMN17datetime8
COLUMN18VARCHAR2(10)COLUMN18nvarchar10
COLUMN7INTERVAL DAY(2) TO SECOND(6)COLUMN7nvarchar30
COLUMN8INTERVAL YEAR(2) TO MONTHCOLUMN8nvarchar14
COLUMN9LONGCOLUMN9ntext16
COLUMN10LONG RAWCOLUMN10image16
COLUMN11NCLOBCOLUMN11ntext16


欢迎大家访问我的个人网站 萌萌的IT人

posted on 2012-11-29 23:22 一堣而安 阅读(285) 评论(0)  编辑  收藏 所属分类: oracle


只有注册用户登录后才能发表评论。


网站导航:
 

导航

统计

常用链接

留言簿(1)

随笔分类

随笔档案

收藏夹

搜索

最新评论

阅读排行榜

评论排行榜