Oracle data types and corresponding DataStage data types
2012-03-25 13:16
429 查看
Oracle data types and corresponding DataStage data types
Oracle data type | DataStage data type |
---|---|
CHAR(n BYTE) | SQL type: CHAR Length: n Scale: unset Extended: unset |
CHAR(n CHAR ) single-byte | SQL type: CHAR Length: n Scale: unset Extended: unset |
CHAR(n CHAR) multibyte | SQL type: NCHAR Length: n Scale: unset Extended: unset |
CHAR single-byte | If the NLS_LENGTH_SEMANTICS database parameter is set to CHAR, then see CHAR(n CHAR). Otherwise, see CHAR(n BYTE) single-byte. In both cases, assume that n = 1. |
CHAR multibyte | If the NLS_LENGTH_SEMANTICS database parameter is set to CHAR, then see CHAR(n CHAR). Otherwise, see CHAR(n BYTE) multibyte. In both cases, assume that n = 1 |
VARCHAR2(n BYTE) | SQL type: VARCHAR Length: n Scale: unset Extended: unset |
VARCHAR2(n CHAR) single-byte | SQL type: VARCHAR Length: n Scale: unset Extended: unset |
VARCHAR2(n CHAR) multibyte | SQL type: NVARCHAR Length: n Scale: unset Extended: unset |
CLOB single-byte | SQL type: LONGVARCHAR Length: unset Scale: unset Extended: unset |
CLOB multibyte | SQL type: LONGNVARCHAR Length: unset Scale: unset Extended: unset |
LONG single-byte | SQL type: LONGVARCHAR Length: unset Scale: unset Extended: unset |
LONG multibyte | SQL type: LONGNVARCHAR Length: unset Scale: unset Extended: unset |
NCHAR(n) | SQL type: NCHAR Length: n Scale: unset Extended: unset |
NCHAR | See NCHAR(n) and assume that n = 1. |
NVARCHAR2(n) | SQL type: NVARCHAR Length: n Scale: unset Extended: unset |
NCLOB | SQL type: LONGNVARCHAR Length: unset Scale: unset Extended: unset |
NUMBER | SQL type: DOUBLE Length: unset Scale: unset Extended: unset |
NUMBER (p, s) {p>=s} {s>=0} | SQL type: DECIMAL Length: p Scale: s Extended: unset |
NUMBER(p, s) {p<s} {s>=0} | SQL type: DECIMAL Length: s Scale: s Extended: unset |
NUMBER(p, s) {s<0} | SQL type: DECIMAL Length: p-s Scale: unset Extended: unset |
FLOAT(p) {1 <=p <=63} | SQL type: FLOAT Length: unset Scale: unset Extended: unset |
FLOAT(p) {64 <=p <= 127} | SQL type: DOUBLE Length: unset Scale: unset Extended: unset |
BINARY_FLOAT | SQL type: FLOAT Length: unset Scale: unset Extended: unset |
BINARY_DOUBLE | SQL type: DOUBLE Length: unset Scale: unset Extended: unset |
LONG RAW | SQL type: LONGVARBINARY Length: unset Scale: unset Extended: unset |
RAW(n) | SQL type: VARBINARY Length: n Scale: unset Extended: unset |
BLOB | SQL type: LONGVARBINARY Length: unset Scale: unset Extended: unset |
BFILE | SQL type: VARCHAR Length: 285 Scale: unset Extended: unset |
DATE | SQL type: DATE Length: unset Scale: unset Extended: unset |
TIMESTAMP(fsp) | SQL type: TIMESTAMP Length: unset Scale: fsp Extended: Microseconds |
TIMESTAMP(fsp) WITH TIME ZONE | SQL type: TIMESTAMP Length: unset Scale: fsp Extended: Microseconds |
TIMESTAMP(fsp) WITH LOCAL TIME ZONE | SQL type: TIMESTAMP Length: unset Scale: fsp Extended: Microseconds |
TIMESTAMP | See TIMESTAMP(fsp) and assume that fsp=6. |
TIMESTAMP WITH TIME ZONE | See TIMESTAMP(fsp) WITH TIME ZONE and assume that fsp=6. |
TIMESTAMP WITH LOCAL TIME ZONE | See TIMESTAMP(fsp) WITH LOCAL TIME ZONE and assume that fsp=6. |
INTERVAL YEAR (yp) TO MONTH | SQL type: VARCHAR Length: yp+4 Scale: unset Extended: unset |
INTERVAL DAY TO SECOND (sp) | SQL type: VARCHAR Length: sp+13 Scale: unset Extended: unset |
INTERVAL DAY (dp) TO SECOND | SQL type: VARCHAR Length: dp+17 Scale: unset Extended: unset |
INTERVAL DAY (dp) TO SECOND (sp) | SQL type: VARCHAR Length: dp+sp+11 Scale: unset Extended: unset |
INTERVAL YEAR TO MONTH | See INTERVAL YEAR (yp) TO MONTH and assume yp=2. |
INTERVAL DAY TO SECOND | See INTERVAL DAY (dp) TO SECOND (sp) and assume that dp=2 and thatsp=6. |
ROWID | SQL type: CHAR Length: 18 Scale: 18 Extended: unset |
UROWID(n) | SQL type: VARCHAR Length: n Scale: unset Extended: unset |
UROWID | See UROWID(n) and assume that n=4000. |
XMLType stored as CLOB or OBJECT_RELATIONAL single-byte | See CLOB single-byte. |
XMLType stored as CLOB or OBJECT_RELATIONAL multibyte | See CLOB multibyte. |
XMLType stored as BINARY XML | See BLOB. |
Other | SQL type: UNKNOWN Length: unset Scale: unset Extended: unset |
相关文章推荐
- Oracle data types and Microsoft SQL Server data types
- Datatypes translation between Oracle and SQL Server
- An introduction to Redis data types and abstractions
- Oracle data import and export impl/exp
- Data Types and Data Structures (数据类型和数据结构)
- Compare IBM Datastage, Informatica and Microsoft SSIS
- Exporting and Importing Objects Using Oracle Data Pump(2.impdp)
- 103.Which two statements are true regarding the Oracle Data Pump export and import operations? (Choo
- MS bug "The connection pool" in Oracle 10g and the data sort according to specified filed on DataGrid control.
- Data structures and types
- MySql and Oracle Data Type Mappings
- 学习SAP HANA 数据类型(SAP HANA DATA TYPES)--像学Oracle一样学习SAP HANA
- JNI Types and Data Structures
- python basics - Datatypes Collections and Lists
- SQL The data types ntext and varchar are incompatible in the not equal to operator 错误
- How to use script to get all oracle EBS Form name and corresponding fmb file name
- More on Variables and Data Types(Chapter 10 of Programming in Objective-C 2.0)
- Comparing the Microsoft .NET Framework 1.1 Data Provider for Oracle and the Oracle Data Provider for .NET
- Oracle Data Types - NVARCHAR2 (zz)
- Oracle Built-in Data Types(Oracle内置数据类型)