LEAVE label
This statement is used to exit the flow control construct that has the given label. 此语句用于退出具有给定标签的流控制构造。If the label is for the outermost stored program block, 如果标签是最外层的存储程序块的标签,LEAVE
exits the program.LEAVE
退出程序。
LEAVE
can be used within BEGIN ... END
or loop constructs (LOOP
, REPEAT
, WHILE
).LEAVE
可以用在BEGIN ... END
或循环构造(LOOP
、REPEAT
、WHILE
)中。
For an example, see Section 13.6.5.5, “LOOP Statement”.有关示例,请参阅第13.6.5.5节,“LOOP语句”。