Using compound statements

Compound statements can be nested, and combined with other control statements to define execution flow in procedures or in batches.

See ”Using compound statements” in SQL Anywhere Server - SQL Usage.