There are several control statements for logical flow and decision making in the body of a procedure, trigger, or user-defined function, or in a batch. Available control statements include:
Control statement | Syntax | ||
---|---|---|---|
Compound statements |
|
||
Conditional execution: IF |
|
||
Conditional execution: CASE |
|
||
Repetition: WHILE, LOOP |
|
||
Repetition: FOR cursor loop |
|
||
Break: LEAVE |
|
||
CALL |
|
Compound statements
Declarations in compound statements
Atomic compound statements
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |