Date and Time Data Types
No. |
MySQL |
GaussDB |
Difference |
---|---|---|---|
1 |
DATE |
Supported, with differences. |
GaussDB supports the date data type. Compared with MySQL, GaussDB has the following differences in specifications:
|
2 |
DATETIME[(fsp)] |
Supported, with differences. |
GaussDB supports the datetime data type. Compared with MySQL, GaussDB has the following differences in specifications:
|
3 |
TIMESTAMP[(fsp)] |
Supported, with differences. |
GaussDB supports the timestamp data type. Compared with MySQL, GaussDB has the following differences in specifications:
|
4 |
TIME[(fsp)] |
Supported, with differences. |
GaussDB supports the time data type. Compared with MySQL, GaussDB has the following differences in specifications:
|
5 |
YEAR[(4)] |
Supported. |
- |
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