mysqldude
Error codes › 1904

MariaDB error 1904 ER_KEY_BASED_ON_GENERATED_VIRTUAL_COLUMN

Error messageKey/Index cannot be defined on a virtual generated column
SymbolER_KEY_BASED_ON_GENERATED_VIRTUAL_COLUMN
SQLSTATEHY000
TypeServer error
Versionsevery release since 5.5 active
How the message changed between versions
MariaDB fromSymbolMessage
5.5.68ER_KEY_BASED_ON_GENERATED_VIRTUAL_COLUMNKey/Index cannot be defined on a non-stored computed column
10.2.44ER_KEY_BASED_ON_GENERATED_VIRTUAL_COLUMNKey/Index cannot be defined on a virtual generated column