7.5 Mapping Oracle Data Types to PGX Types
Learn how the input Oracle AI 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 Data Types to PGX Types
| Oracle AI DatabaseFoot 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 data types.
Parent topic: Loading a SQL Property Graph into the Graph Server (PGX)