mysqldude
Error codes › 1765

MySQL & MariaDB error 1765 ER_VARIABLE_NOT_SETTABLE_IN_SF_OR_TRIGGER

MySQLThe system variable … cannot be set in stored functions or triggers.
MariaDBThe system variable … cannot be set in stored functions or triggers
MySQLMariaDB
SymbolER_VARIABLE_NOT_SETTABLE_IN_SF_OR_TRIGGERER_VARIABLE_NOT_SETTABLE_IN_SF_OR_TRG
SQLSTATEHY000HY000
TypeServer errorServer error
Versionssince 5.6.51 activesince 10.0.38 active
How the message changed between versions
MariaDB fromSymbolMessage
10.0.38ER_VARIABLE_NOT_SETTABLE_IN_SF_OR_TRIGGERThe system variable %.200s cannot be set in stored functions or triggers.
10.2.44ER_VARIABLE_NOT_SETTABLE_IN_SF_OR_TRIGGERThe system variable %.200s cannot be set in stored functions or triggers
12.3.4ER_VARIABLE_NOT_SETTABLE_IN_SF_OR_TRGThe system variable %.200s cannot be set in stored functions or triggers