The SQL procedure body.
You must specify either a single statement or a BEGIN-END compound statement.
- Local variable, cursor, or handler declarations
- Cursor statements
The following SQL statement sets can be specified as the SQL procedure body.
You can also specify any of the statements in these categories in a statement_list within compound statements, condition statements (CASE and IF), iteration statements, and in the handler action part of a condition handler declaration.