SQL
GaussDB is compatible with most MySQL syntax, but there are some differences. This section describes the MySQL syntax supported by GaussDB.
Keyword Type |
Keyword |
Constraint |
---|---|---|
Reserved (Type or function is allowed.) |
COLLATION and COMPACT |
They cannot be used as identifiers in other databases except for functions and variables. |
Non-reserved (Type or function is not allowed.) |
BIT, BOOLEAN, COALESCE, DATE, NATIONAL, NCHAR, NONE, NUMBER, TEXT, TIME, TIMESTAMP, and TIMESTAMPDIFF |
They cannot be used as identifiers for functions or variables. |
Reserved |
ANY, ARRAY, BUCKETS, DO, END, LESS, MODIFY, OFFSET, ONLY, RETURNING, SOME, and USER |
They cannot be used as identifiers in any database. |
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