The tests should adequately cover the kernel code to help support the stability statement produced from their results.
测试应该充分地覆盖内核代码,以帮助支持自其结果中生成的稳定性声明。
The first of the four assertions at the bottom of the code verifies that the appropriate SQL statement was created.
代码底部四个声明中的第一个声明会验证适当的SQL语句是否被创建。
When the INSERT statement fails with the error code specified in the DECLARE exit handler statement, control passes to the handler, and the procedure is exited.
当insert语句失败并且错误代码在DECLAREEXIThandler语句中指定,那么控制将传递到处理程序,而过程将退出。
The following code snippets show the differences when using a Statement and a PreparedStatement.
下面的代码片段显示使用Statement与使用PreparedStatement的不同之处。
Improved reverse engineering and round trip operations better handle the following code statement.
改进的逆向工程及环形路线操作更好地处理以下的代码声明。
To your problem statement, you ask "what are your owned members?". In code, it looks like this.
对于您问题的陈述,您可以问“什么是您自己的成员?”
The problem isn't entirely in the if statement, but mostly in the amount of code in the if statement.
问题并不完全归结在if语句上,if 语句中代码的数量才是最关键的。
The code above is a single line statement, but had to be indented to fit this format.
上面的代码是一个单行语句,但是为了适合这个格式进行了缩排。
It generates the code required to execute each SQL statement annotated for each method in the interface.
它生成的代码用来执行针对接口中每个方法进行注释的每个sql语句。
But when each statement includes too many choices and too much code, it could be an indication of code that needs to refactored.
但当一个语句包含太多的选择和代码时,它就可能暗示有需要重构的代码。
This variable contains the error code of the latest SQL statement executed.
该变量包含最近执行的一条 SQL语句的错误代码。
The statement information panel provides additional meta information about the statement and provides a key ability to trace a statement execution back to an application's source code.
语句信息面板提供了关于语句的额外元信息,并提供了一项关键功能,可以追踪语句执行,直到应用程序的源代码。
Processing stops immediately when this statement is executed, and the procedure return code to the caller is the value of SQLERROR.
在执行该语句时处理将立即停止,而过程返回给调用者的代码是SQLERROR的值。
Listing 9 contains a code example of the SQL CREATE procedure statement used to register an RPG program as an external stored procedure.
清单9包含一个用于将一个R PG程序注册为一个外部存储过程的SQLCREATEPROCEDURE语句的代码示例。
This means that under JDBC 3.0, your existing code will automatically leverage statement pooling.
这就意味着,在JDBC 3.0下,您现存的代码可以自动利用语句池。
The whole INSERT statement is converted from the client code page to the database code page, and then the XMLPARSE document string is converted to UTF-8 for parsing into XML.
整个insert语句被从客户机代码页转换到数据库代码页,然后XMLPARSE文档字符串被转换到utf - 8,以便解析为XML。
Encapsulate several lines of code into a single statement.
将几行代码封装成一条语句。
When you create a database using the create database statement, the code page for the database will be derived from the operating system locale setting.
在使用CREATEdatabase语句创建数据库时,将从操作系统的地区设置推导出数据库的编码页。
A far more accurate measure — one that can even gauge the time taken to run a single-source code statement — can be taken using a code profiler.
一种更精确的测量——甚至可以测量运行单个源代码语句的时间——可以采用代码分析器。
When the return SQLERROR statement is executed, processing halts and the error code 10029 is returned to the caller.
当执行RETURN sqlerror语句时,处理暂停并将错误代码10029返回给调用者。
In this example, we have chosen to fix the CREATE PROCEDURE statement instead of modifying the source code.
在这个例子中,我们选择修改CREATEprocedure语句而不是修改源代码。
There's nothing in the statement that rewards clean code.
没有任何关于干净代码的奖励。
For both databases you can declare error handlers that will determine what action are taken if an SQL statement fails with a particular error code (SQLCODE or SQLSTATE).
对于这两种平台上的数据库,您都可以声明错误处理程序,如果带有特殊的错误代码(SQLCODE或SQLSTATE)的sql语句失败,那么该处理程序将判定应采取哪些措施。
The synchronized statement enbales only one thread to enter a code block at a time.
同步语句一次仅允许一个线程进入代码块。
The eval statement in Listing 3 will execute whatever code the server returns, so there is a security risk here.
清单3中的eval语句将执行服务器返回的所有代码,因此这里存在安全风险。
The application code used for parsing the XML in the DOM parser and composing the insert SQL statement is replaced with the following code
用来在DOM解析器中解析XML并合成insertSQL语句的应用程序代码被替换为以下代码
The following code is a DDL statement to create the customer table and a trigger defined on the table.
以下代码是一个DDL语句,用于创建customer表和根据该表定义的触发器。
Since any code after the return statement is unreachable, it's marked in error.
由于return语句后面的所有代码都不能执行,因此将其标记为错误。
Make sure you have a main statement in your code, even if your module holds only functions.
即使模块只包含函数,也要确保代码中有一个main语句。
It's also important to note that I made a slight change to the if-then statement at the bottom of the code in Listing 5.
还有重要的一点需要指出,即我对清单5所示的代码底部的if - then语句做了稍许修改。
应用推荐