7.5 Mapping Oracle Database Types to PGX Types
Learn how the input Oracle database types are mapped to its corresponding PGX types, when a graph from the database is loaded into the graph server (PGX).
The following table applies for both SQL property graphs and PGQL property graphs.
Table 7-1 Mapping Oracle Database Types to PGX Types
| Oracle Database TypeFoot 1 | PGX Type |
|---|---|
NUMBER |
The following implicit type conversion rules
apply:
|
CHAR or
NCHAR |
STRING |
VARCHAR, VARCHAR2,
or NVARCHAR2 |
STRING |
BINARY_FLOAT |
FLOAT |
BINARY_DOUBLE |
DOUBLE |
FLOAT |
The following implicit type conversion rules
apply:
In the preceding entries,
|
CLOB |
STRING |
DATE or TIMESTAMP
|
TIMESTAMP |
TIMESTAMP WITH LOCAL TIME
ZONE |
TIMESTAMP |
TIMESTAMP WITH TIME ZONE |
TIMESTAMP WITH TIME ZONE |
Footnote 1 Data types for PGQL property graphs and SQL Property Graphs share a one-to-one mapping with Oracle Database data types.
Parent topic: Loading a SQL Property Graph into the Graph Server (PGX)