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.
MySQL AB :: MySQL 5.0 Reference Manual :: 17.2.6 DECLARE Statement Syntax - 0 views
-
-
DECLARE is allowed only inside a BEGIN ... END compound statement and must be at its start, before any other statements.
1 - 2 of 2
Showing 20▼ items per page