如果语句执行返回一个错误,过程将自动中断或回滚事务。
If statement execution returns an error, the procedure is automatically aborted or the transaction is rolled back.
break语句的一个特殊特性是,它完全中断循环,并跳转到循环下面的任一个else子句。
One special feature of the break statement is that it breaks completely out of the loop, thereby skipping any else clause that follows the loop.
此时,break语句导致程序执行中断while循环,跳转到else子句。
At this point, the break statement causes program execution to break out of the while loop, skipping the else clause.
应用推荐