There are a number of control statements for logical flow and decision making in the body of the procedure or trigger, or in a batch. Available control statements include:
Control statement | Syntax | ||
---|---|---|---|
Compound statements See BEGIN statement. |
|
||
Conditional execution: IF See IF statement. |
|
||
Conditional execution: CASE See CASE statement. |
|
||
Repetition: WHILE, LOOP See LOOP statement. |
|
||
Repetition: FOR cursor loop See FOR statement. |
|
||
Break: LEAVE See LEAVE statement. |
|
||
CALL See CALL statement. |
|
Using compound statements
Declarations in compound statements
Atomic compound statements
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |