您可以使用in子句在用户数据所在的表空间上创建一个索引,或者在其他表空间上创建索引。
You can use the in clause to create an index in the same table space where user data resides, or in a different table space.
如清单1所示,使用for子句来指定一组笛卡尔元组,表达式的其余部分将对该元组求值。
You use the for clauses to specify a set of Cartesian tuples on which the rest of the expression will be evaluated, shown in Listing 1.
创建一个物理文件,并使用CCSID子句。
您可以任意组合使用这些子句,以达到期望的效果。
You can use these clauses in any combination to achieve the desired effect.
下面的例子演示了在触发器中使用WHEN 子句。
The following example demonstrates the use of the WHEN clause in the trigger.
xmlagg函数使用ORDERBY子句对组内元素进行排序。
XMLAGG functions use the ORDER BY clause to sort the elements within the group.
函数返回类型的数据类型可以直接指定,或使用references子句指定。
The data type for the function return type can be specified directly or using the REFERENCES clause.
如果该表在任何时刻都必须是可用的,那么应该使用该子句。
Use this clause if the table must be up and available at any time.
如果已经执行了验证,那么在触发器代码体中使用when子句跳过验证过程。
If so, it skips the validation process by using the WHEN clause in the trigger body.
正确的答案是使用 :include子句的哈希语法。
The correct answer is to use a hash syntax for the :include clause.
可以使用FROM 子句为XML数据指定路径。
You can specify the path for XML data using the XML FROM clause.
在装载数据时它并不使用FOR update子句,所以行并不会被锁定。
It will not use a FOR UPDATE clause when loading the data, so the rows will not be locked.
如果使用标准的into子句,那么按选择的字段的次序填充行。
If you use the standard INTO clause, the row is filled in the order of the selected fields.
下一步是执行适当的SQL查询来构造可更新的游标,方法为根据先前的描述使用 FORUPDATE子句。
The next step is to execute the appropriate SQL query to construct your updateable cursor, which requires using the FOR UPDATE clause as described earlier.
还可以使用values子句填充变量p2和p3,如下例所示。
You can also populate the variables p2 and p3 using the VALUES clause, as shown in the following example.
该查询使用WHERE 子句来筛选weather.bylocation表的内容并检索指定邮政编码的天气预报。
The query uses a WHERE clause to filter the contents of the weather.bylocation table and retrieve a weather forecast for the specified zip code.
注意where子句中使用了参数标记。
在load期间可以使用XMLVALIDATE USING子句对XML数据进行验证。
XML data can be validated during load using the XMLVALIDATE USING clause.
看一下清单2中的示例,其中使用了多个for子句。
Take a look at the example in Listing 2, which USES more than one for clause.
在WHERE子句中避免使用“NOTIN”谓词。
where子句使用DB2的XMLExists函数限制查询所返回的数据。
The WHERE clause USES DB2's XMLExists function to restrict the data to be returned.
现在支持使用LIMIT和OFFSET 子句的新SQL语法。
New SQL syntax using the LIMIT and OFFSET clauses is now supported.
使用新的DROPcolumn子句删除列。
在应用服务器上程序嵌入的SQL可能使用SQL系统日期子句。
SQL embedded in programs on the application server might use the SQL system date clause.
假定我们在using子句中使用EXPRESS模式。
还可在merge语句中using 子句的内部使用视图。
You can also use views inside the using clause of the merge statement.
当指定XDS选项时,可以使用DEFAULT,IGNORE和MAP子句。
While specifying the XDS option, DEFAULT, IGNORE and MAP clauses can be used.
声明部分包含声明语句,它们声明后续子句中使用的局部和全局变量。
The declaration clause contains declarative statements that declare local and global variables to be used in subsequent clauses.
到目前为止,本文中的所有更新示例都使用相同的 “copy”子句,即 copy $new := $INFO。
So far, all the update examples in this article have used the same "copy" clause, that is copy $new := $INFO.
在一个分析摘要函数(比如rank)的withinset子句外部使用nestedset函数的报告将生成以下错误。
A report using the function nestedSet outside the within set clause of an analytic summary function (such as rank) produces the following error.
应用推荐