您可以添加条件语句和迭代以进行测试,如果您想使用一个数据集运行测试,这个功能就会有所帮助。
You can add conditional statements and iteration to tests, which can help if you want to run tests with a set of data.
注意:要检测循环,在检测循环时,系统只会检查迭代select语句返回的结果。
Note: To detect a cycle, only the results returned by the iterative SELECT statement are checked.
对语句标签以及GOTO和loop语句的新支持为SPL例程中的迭代和退出语句循环提供了更大的灵活性。
The new support for statement labels and the GOTO and loop statements provide greater flexibility in iterating and in exiting from statement loops in SPL routines.
如前面的文章中所述,continue语句使包含它的循环开始下一次迭代。
As discussed in the previous article, the continue statement causes the containing loop to start the next iteration.
还使用与更新22相似的“for”迭代,所以如果工作电话或家庭电话不存在,语句也不会失败。
"For" iterations are used similar to Update 22 so that the statement won't fail if a work phone or a home phone does not exist.
main方法使用增强的for循环来迭代通过不同的原语,并在当前实例上使用一个简单的switch语句来设置每个原语的大小值。
The main method USES an enhanced for loop to iterate through the different primitives and a simple switch statement on the current instance to set the size value of each primitive.
db 2 _ fetch_row用于在返回true的语句资源中进行迭代,直至资源中不再有行。
The db2_fetch_row is used to iterate through the statement resource returning true until there are no more rows in the resource.
使用for 语句可以迭代多个项以提取细节信息,但为了简便起见,我在此省去了对它的介绍。
You can use a for statement to iterate over multiple items to extract fine detail, but I omitted this for simplicity.
使用UNIONALL子句,可将当前的迭代SELECT语句的结果与初始 SELECT 语句的结果以及之前的迭代返回的所有结果合并在一起。
The result of the current iterative select statement is merged with the result of the initial select statement and all results returned by the previous iterations using a UNION ALL clause.
在Script窗格中选择任何映射语句,这将显示该语句中所引用的所有源和目标可映射对象,如映射源、循环迭代器、条件、where子句,等等。
Selecting any mapping statement in the Script Pane shows all source and target mappables referenced in the statement, such as mapping source, loop iterator, condition, where clause, and so on.
为了避免loop语句的无限次迭代,在loop语句中可以使用IF语句的新exit和CONTINUE选项。
To avoid infinite iterations of LOOP statements, new EXIT and CONTINUE options to the IF statement are valid within LOOP statements.
样式表使用for-each语句来迭代元素组。
The stylesheet uses for-each statements to iterate over groups of elements.
在执行for语句时,游标被隐式声明,这样对于FOR循环的每一次迭代,取回的下一行就是结果集。
When a for statement is executed, a cursor is implicitly declared such that for each iteration of the for loop, the next row is the result set if fetched.
低级跟踪捕捉语句统计数据、语句文本和语句迭代器。
Low-level tracing captures statement statistics, statement text and statement iterators.
Low:此跟踪级别是默认级别,它捕捉语句统计数据、语句文本和语句迭代器。
Low: This tracing level, which is enabled by default, captures statement statistics, statement text, and statement iterators.
如果迭代次数为零,就表示从不执行该语句。
If the number of iterations is zero, it means the statement was never executed. If however the number of iterations field is empty it means one of four things.
如果迭代次数为零,就表示从不执行该语句。
If the number of iterations is zero, it means the statement was never executed. If however the number of iterations field is empty it means one of four things.
应用推荐