每个箱子可装大约2,000张卡片,所以,他的程序有4,000张卡片或者说有4,000个语句;每张卡片一般包含一个cobol语句行。
Each box contained about 2,000 CARDS, so his program had 4,000 CARDS or 4,000 statements; each card usually contained one COBOL statement line.
注意,为了便于阅读,我们已将三个内核定义语句分割为多个行。
Note that we have split the three kernel definition statements into multiple lines for readability.
存在不同类型的覆盖度量,但是绝大多数的工具会关注行覆盖,也叫做语句覆盖。
There are different types of coverage measurements, but most tools focus on line coverage, also known as statement coverage.
在触发器、动态合成语句、标量、表、行函数和方法中不能调用具有访问级别MODIFIESSQLDATA的联邦过程。
Federated procedures with access level MODIFIES SQL DATA cannot be invoked inside triggers, dynamic compound statements, scalar, table, row functions, and methods.
例如,有些数据库在select语句上提供了特殊的语法,声明用来更新select语句所选中的行。
For example, some databases provide special syntax on the select statements to declare the intentions of updating the rows selected by the select statement.
这里还提供了返回的行、事务吞吐量和语句吞吐量的图片。
There are also graphs for rows returned, transaction throughput, and statement throughput.
如果没有启用MRF,准备fetch语句时将不包含行集定位。
If MRF is not enabled, FETCH statements are prepared without rowset positioning.
要注意的第一件事是每一行就是一个语句——不需要分号(;)来结束这些行——并且变量没有声明。
The first thing you'll note is that each line is a statement — semicolons (;) are not required to end lines — and that variables are not declared.
第8行中的打印语句也是前面讨论过的字符串格式操作。
The print statement in Line 8 is another of those string formatting operations that was discussed earlier.
清单10展示了最后一行中sql语句的输出。
Listing 10 shows the output of the SQL statement in the last line.
然而,有时候需要在一行放多个程序语句,例如初始化变量时。
Sometimes, however, it's desirable to place multiple program statements on a single line -- when you're initializing variables, for example.
第5行使用eval语句,它是动态语言的最强大的特性之一。
Line 5 USES the eval statement, which is one of the most powerful features of dynamic languages.
将重新准备fetch语句,并且不包含行集定位。
The fetch statement will be re-prepared without rowset positioning.
通过使用竖线做分隔符,可以将两个或更多个语句放在单个行中。
You can also put two or more statements on a single line by separating them with a vertical bar.
这个select语句对于每个地区返回一行,地区名由name列表示。
The SELECT statement allows us to return one row per region identified by the name column.
jdbc语句列出在包含以下内容的行中。
这些工作由EmitFragment函数完成,其中包含了大约250行的switch语句。
The bulk of the work is done by the 250 line switch statement that makes up the EmitFragment function.
ActionScript在使用一个包(库)之前,先要进行引用,所以例中脚本块的开头有一行“import ”语句。
ActionScript also requires a reference to other packages (libraries) in order to use them; hence the "import" statement at the top of the Script block.
Script注释行指明文件中导入的语句。
A Script comment line identifies the file that the statements were imported from.
这是因为这一次,第2行中的if语句现在为true,并且简单地返回了“o ”。
This is because this time, the if statement on line 2 is now true, and "o" is simply returned. The recursion unwinds as follows.
第二个print语句用于打印新行,从而使乘法表中的下一行被打印在新的行中。
The second print statement is used to print a newline so that the next row in the times table is printed on a new line.
您可以通过许多方法来测量代码覆盖率:通过评估代码行或语句的覆盖面、条件覆盖面、分支覆盖面等等。
You can measure code coverage in several ways: by assessing line or statement coverage, condition coverage, branch coverage, and so on.
在这种情况下,他们可以发出一条select语句来识别符合条件的行,然后再DELETE那些行。
In this case, they can issue a SELECT statement to identify rows that qualify then DELETE those rows.
通过这些内容,例如在语句和行吞吐量图中,可以快速查看事务吞吐量如何与语句和游标活动相关联。
These provide a quick overview of how the transaction throughput relates to the statement and cursor activity as seen in the graphs for statement and row throughput.
变量SQLROWCOUNT包含受最后一条语句影响的行的数量。
Variable SQLROWCOUNT contains the number of rows affected by the last statement.
注意清单3中扩展到多个行的程序语句是如何缩进以改善可读性的。
Notice how the program statements in Listing 3 that extend over more than one line are indented to improve readability.
这条语句将从表中选择所有的行,从而可能暴露保密信息。
This statement selects all rows from the table, potentially exposing private information.
直至最先的事务提交了变化后,其他的事务对所有行发行的相同语句的锁定才被解除。
A subsequent transaction issuing the same statement on any of the rows will be blocked until the first transaction commits its changes.
乐观事务锁不能用于在单个update语句中更新数据行集合,因此在这种情况下,很难进行错误处理。
Optimistic transaction locking should not be used to update sets of rows in a single update statement, as error handling in this case is very difficult.
本示例在update语句的前后都使用了select语句,以证实对目标行的更改。
This example wraps a single UPDATE statement with SELECT statements to demonstrate the change to the target row.
应用推荐