13.6.5.4 LEAVE Statement语句

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或循环构造(LOOPREPEATWHILE)中。

For an example, see Section 13.6.5.5, “LOOP Statement”.有关示例,请参阅第13.6.5.5节,“LOOP语句”