Table of Contents

Search

  1. Preface
  2. Introduction
  3. Installation
  4. Design
  5. Operation

UST Data Types

UST Data Types

The following tables show the data types supported for the various database types, and what they are converted to for storage in the IDT.
The first column shows the native data types that can be read from User Source Tables.
The second column shows the equivalent DCE data type. Data read from USTs are converted to a common data type to enable combining source data from multiple different database management systems.

Oracle

UST Data Type
DCE Data Type
F
CHAR
VARCHAR2
NUMBER (scale > 0)
DATE
6
C
V
B
I
G
NUMBER (scale=0)
INT
SMALLINT
N
R
X
Z
6
DATEs are converted to C(64) fields by default. The length may be overridden. The default installation date mask determines the date’s format. This is specified either explicitly with the initialization parameter
NLS_DATE_FORMAT
or implicitly with the initialization parameter
NLS_TERRITORY
. It can also be set for a session with the
ALTER SESSION
command.

UDB

UST Data Type
DCE Data Type
F
CHAR
VARCHAR
DATE
7
TIMESTAMP
NUMBER (scale > 0)
C
V
B
I
G
NUMBER (scale=0)
DECIMAL
INTEGER
SMALLINT
BIGINT
N
R
X
Z
7
DATEs are converted to C(64) fields by default. The length may be overridden.

ODBC / Microsoft SQL Server

UST Data Type
DCE Data Type
SQL_CHAR
F
SQL_VARCHAR
SQL_DATE
8
SQL_TIME
SQL_TIMESTAMP
SQL_TYPE_DATE
SQL_TYPE_TIME
SQL_TYPE_TIMESTAMP
SQL_NUMERIC
9
SQL_DECIMAL
9
SQL_FLOAT
SQL_REAL
SQL_DOUBLE
SQL_GUID
C
SQL_BINARY
SQL_VARBINARY
B
SQL_NUMERIC
10
SQL_DECIMAL
10
SQL_INTEGER
SQL_SMALLINT
SQL_TINYINT
SQL_BIGINT
N
8
DATEs are converted to C(64) fields by default. The length may be overridden.
9
scale > 0 (floating point numbers)
10
scale = 0 (whole numbers)

0 COMMENTS

We’d like to hear from you!