Mapping Oracle Data Types to PGX Data Types
The script content on this page is for navigation purposes only and does not alter the content in any way.
When creating the graph using relational tables, the property graph wizard converts the Oracle AI Database 26ai data types to the graph server (PGX) data types.
The following table shows a few supported input types and the corresponding default mapping when transformed into graph properties:
| Oracle AI Database 26ai TypeFoot 1 | Oracle 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 AI Database 26ai data types.