DECLARE Statement Syntax
DECLARE statement is used to define
various items local to a routine:
statements are not currently supported.
DECLARE is allowed only inside a
BEGIN ... END compound statement and must be
at its start, before any other statements.
Declarations must follow a certain order. Cursors must be
declared before declaring handlers, and variables and conditions
must be declared before declaring either cursors or handlers.