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.
对于您问题的陈述,您可以问“什么是您自己的成员?”
You need to be able to see the SQL statement generated (and submitted by the code to the MySQL engine) to see whether that's where the problem lies.
您必须能够查看生成(并由代码提交给MySQL引擎)的sql语句以查看问题是不是出在语句里。
The problem isn't entirely in the if statement, but mostly in the amount of code in the if statement.
问题并不完全归结在if语句上,if 语句中代码的数量才是最关键的。
At the moment the query is created, no SQL statement is issued to the database. The SQL statement is created and executed when your code iterates the IQueryable object.
当创建这个查询时,SQL语句并没有被发送到数据库中,只有当你在代码中对这个IQueryable对象进行Iterate操作时,这个SQL语句才会被创建并执行,这个概念就是延迟执行。
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.
但当一个语句包含太多的选择和代码时,它就可能暗示有需要重构的代码。
You can measure code coverage in several ways: by assessing line or statement coverage, condition coverage, branch coverage, and so on.
您可以通过许多方法来测量代码覆盖率:通过评估代码行或语句的覆盖面、条件覆盖面、分支覆盖面等等。
This variable contains the error code of the latest SQL statement executed.
该变量包含最近执行的一条 SQL语句的错误代码。
Switch to the stored procedure editor ASSOC_PROC and pass the code between the cursor declaration and the cursor "OPEN" statement.
切换到存储过程编辑器 ASSOC_PROC 并传递进指针声明和指针 “OPEN”语句之间的那些代码。
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。
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语句而不是修改源代码。
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语句失败,那么该处理程序将判定应采取哪些措施。
Despite that, we still see code that first runs a SELECT statement to find the maximum id, then adds one to that id, as well as a new record.
除此之外,我们仍然会看到这样的代码,即首先运行一个select语句来找到最大的id,然后将该id增1,并找到一个新记录。
Running the same code using the JSON format yields a much more compact statement
使用JSON格式运行相同的代码将得到精简得多的语句
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表和根据该表定义的触发器。
应用推荐