mysqldude
Error codes › 1838

MySQL & MariaDB error 1838 ER_VARIABLE_NOT_SETTABLE_IN_SP

MySQLThe system variable … cannot be set in stored procedures.
MariaDBThe system variable … cannot be set in stored procedures
MySQLMariaDB
SymbolER_VARIABLE_NOT_SETTABLE_IN_SPER_VARIABLE_NOT_SETTABLE_IN_SP
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_SPThe system variable %.200s cannot be set in stored procedures.
10.2.44ER_VARIABLE_NOT_SETTABLE_IN_SPThe system variable %.200s cannot be set in stored procedures