Overview
M-compatible databases support the following data types:
- Boolean type: BOOLEAN or BOOL. For details, see Boolean Types.
- Binary types: BINARY, VARBINARY, TINYBLOB, BLOB, MEDIUMBLOB, and LONGBLOB. For details, see Table 1.
- Character types: CHAR, VARCHAR, TINYTEXT, TEXT, MEDIUMTEXT, and LONGTEXT. For details, see Table 1.
- Time types: DATE, TIME, TIMESTAMP, DATETIME, and YEAR. For details, see Table 1.
- Bit string type: BIT. For details, see Table 1.
- Numeric types: TINYINT, SMALLINT, MEDIUMINT, INT/INTEGER, BIGINT, NUMERIC or DECIMAL, FLOAT, and DOUBLE. For details, see Numeric Types.
M-compatible databases support conversion between data types. For details, see Type Conversion.
M-compatible databases support constraints on data types. For details, see "MySQL Compatibility Description > M-compatible Mode" in Compatibility Description.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot