mysqldude
Error codes › 1487

MySQL & MariaDB error 1487 ER_NOT_CONSTANT_EXPRESSION

MySQLExpression in RANGE/LIST VALUES must be constant
MariaDBExpression in … must be constant
MySQLMariaDB
SymbolOBSOLETE_ER_NO_CONST_EXPR_IN_RANGE_OR_LIST_ERRORER_NOT_CONSTANT_EXPRESSION
SQLSTATEHY000HY000
TypeServer errorServer error
Versionssince 5.1.77; now an unused placeholder (since 8.0.11) obsoleteevery release since 5.5 active
How the message changed between versions
MySQL fromSymbolMessage
5.1.77ER_NO_CONST_EXPR_IN_RANGE_OR_LIST_ERRORExpression in RANGE/LIST VALUES must be constant
8.0.11OBSOLETE_ER_NO_CONST_EXPR_IN_RANGE_OR_LIST_ERRORExpression in RANGE/LIST VALUES must be constant
MariaDB fromSymbolMessage
5.5.68ER_NO_CONST_EXPR_IN_RANGE_OR_LIST_ERRORExpression in RANGE/LIST VALUES must be constant
10.4.34ER_NOT_CONSTANT_EXPRESSIONExpression in %s must be constant