如果条件的求值结果为TRUE,那么就将执行语句列表,在循环的顶部恢复控制。
If the condition evaluates to TRUE, the statement list is executed, then control resumes at the top of the loop.
对于表3左侧列的DB 2示例,如果某条sql语句失败并生成一个错误,那么控制将被传递给条件处理程序。
In the case of the DB2 example in the left column of Table 3, if a particular SQL statement fails and generates an error, control is passed to the condition handler.
这个控制结构是由一系列具体限制条件组成的一个“if”语句。
This control structure is an 'if' statement represented by a concrete list of plain Erlang terms.
如果条件的求值结果为FALSE或NULL,那么将绕过循环,并且控制被传递给下一条语句。
If the condition evaluates to FALSE or NULL, the loop is bypassed, and control passes to the next statement.
如果没有为条件声明处理程序,DB 2将把控制器传递到SQL过程体中的下一个语句。
If you have not declared a handler for a condition, DB2 passes control to the next statement in the SQL procedure body.
GO TO标签语句可以无条件地退出循环,并将控制权转移到跟在指定的语句标签之后的可执行语句或语句块。
The GOTO label statement can unconditionally exit from a loop and transfer control to the executable statement or statement block that follows the specified statement label.
如果SQL过程中有一个语句发出SQLWARNING或NOTFOUND条件,并且为相应的条件声明了一个处理程序,那么DB 2将把控制转移到相应的处理程序。
If a statement in your SQL procedure raises an SQLWARNING or NOT FOUND condition and if you have declared a handler for the respective condition, DB2 passes control to the corresponding handler.
条件语句:控制运行流程的语句,根据不同条件有不同语句去运行。
A statement that controls the flow of execution depending on some condition.
列出并讨论根据条件编译变量的值控制脚本编译的语句。
Lists and discusses the statements that control compilation of a script depending on the values of the conditional compilation variables.
列出并讨论根据条件编译变量的值控制脚本编译的语句。
Lists and discusses the statements that control compilation of a script depending on the values of the conditional compilation variables.
应用推荐