Collection Contents Index INSTALL statement LOAD TABLE statement pdf/chap9.pdf

Reference Manual
   CHAPTER 9. SQL Statements     

LEAVE statement


Function 

Continue execution, by leaving a compound statement or LOOP.

Syntax 

LEAVE statement-label

Permissions 

None.

Side effects 

None.

See also 

LOOP statement

FOR statement

BEGIN... END statement

Using Procedures, Triggers, and Batches

Description 

The LEAVE statement is a control statement that allows you to leave a labeled compound statement or a labeled loop. Execution resumes at the first statement after the compound statement or loop.

The compound statement that is the body of a procedure or trigger has an implicit label that is the same as the name of the procedure or trigger.

Standards and compatibility 

Examples 


Collection Contents Index INSTALL statement LOAD TABLE statement pdf/chap9.pdf