INVALID_VARIABLE_DECLARATION error class

SQLSTATE: 42K0M

Invalid variable declaration.

NOT_ALLOWED_IN_SCOPE

Declaration of the variable <varName> is not allowed in this scope.

ONLY_AT_BEGINNING

Variable <varName> can only be declared at the beginning of the compound.