似是而非

导航

Oracle 和 SQL Server 数据类型对照表

Oracle 数据类型                    SQL Server 数据类型                  备用
BFILE                                VARBINARY(MAX)                      是
BLOB                                 VARBINARY(MAX)                      是
CHAR([1-2000])                  CHAR([1-2000])                        是
CLOB                                 VARCHAR(MAX)                        是
DATE                                DATETIME                                是
FLOAT                              FLOAT                                     否
FLOAT([1-53])                   FLOAT([1-53])                          否
FLOAT([54-126])                FLOAT                                     否
INT                                  NUMERIC(38)                            是
INTERVAL                          DATETIME                                是
LONG                                VARCHAR(MAX)                         是
LONG RAW                         IMAGE                                     是
NCHAR([1-1000])                NCHAR([1-1000])                      否
NCLOB                              NVARCHAR(MAX)                       是
NUMBER                            FLOAT                                     是
NUMBER([1-38])                 NUMERIC([1-38])                       否
NUMBER([0-38],[1-38])       NUMERIC([0-38],[1-38])              是
NVARCHAR2([1-2000])        NVARCHAR([1-2000])                  否
RAW([1-2000])                  VARBINARY([1-2000])                 否
REAL                                 FLOAT                                    否
ROWID                              CHAR(18)                                否
TIMESTAMP                        DATETIME                              是
UROWID                            CHAR(18)                                否
VARCHAR2([1-4000])         VARCHAR([1-4000])                    是

posted on 2010-02-24 09:20  似是而非  阅读(2366)  评论(0编辑  收藏  举报