MySQL->Oracle
Data Type (MySQL) |
Data Type (Oracle) |
Whether to Support Mapping |
---|---|---|
ENUM |
VARCHAR2 |
Yes |
SET |
VARCHAR2 |
Yes |
VARCHAR |
VARCHAR2 |
Yes |
NUMERIC |
NUMBER |
Yes |
FLOAT |
BINARY_FLOAT |
Yes |
TIMESTAMP |
TIMESTAMP WITH TIME ZONE |
Yes |
DATETIME |
TIMESTAMP |
Yes |
DATE |
DATE |
Yes |
TIME |
INVERVAL DAY TO SECOND |
Yes |
YEAR |
VARCHAR2 |
Yes |
BIT |
RAW |
Yes |
CLOB |
CLOB |
Yes |
GEOMETRY |
- |
No |
VARBINARY |
BLOB |
Yes |
BINARY |
RAW |
Yes |
DOUBLE |
BINARY_DOUBLE |
Yes |
DECIMAL |
NUMBER |
Yes |
INT |
NUMBER |
Yes |
TINYINT |
NUMBER |
Yes |
SMALLINT |
NUMBER |
Yes |
MEDIUMINT |
NUMBER |
Yes |
BIGINT |
NUMBER |
Yes |
BLOB |
BLOB |
Yes |
LONGBLOB |
BLOB |
Yes |
MEDIUMBLOB |
BLOB |
Yes |
CHAR |
CHAR |
Yes |
TEXT |
CLOB |
Yes |
JSON |
CLOB |
Yes |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.