7. Routine Control SQL

This chapter explains the syntax and structure of routine control SQL.

Organization of this chapter
General rules
Compound statement (Execute multiple statements)
IF Statement (Execute by conditional branching)
LEAVE statement (Exit statement)
RETURN statement (Return function return value)
WHILE statement (Repeat statements)
FOR statement (Repeat a statement on rows)
WRITE LINE statement (Character string output to a file)
SIGNAL statement (Signal error)
RESIGNAL statement (Resignal error)