Updated on 2025-06-30 GMT+08:00

Expressions

GaussDB is compatible with most MySQL expressions, but there are some differences. If not listed, the expression behavior is the native GaussDB behavior by default.

Table 1 Expressions

MySQL

GaussDB

User-defined variable @var_name

Partially supported

Global variable @@var_name

Partially supported