在执行该过程后创建新的表函数。
The new table functions are created after the procedure executes. To list the output columns for the table functions, execute the following statements
创建返回多个值的表函数也不太困难。
Creating a table function that returns multiple values isn't much more difficult.
报告相对于基线数据的差值的包装器表函数。
Wrapper table functions that report deltas relative to the baseline data.
如果不这样做,脚本就无法定义差值表函数要使用的CGTT。
If you do not, the script will be unable to define the CGTTs used by the delta table functions.
清单3显示了用于发现连接到DB2的用户数的表函数。
The table function to find the number of users connected to DB2 is shown in Listing 3.
例如,所有未涉及订购项的步骤都被封装到一个sql表函数中。
For example, all the steps not involving the order lines have been unified into one SQL table function.
函数可以返回单一值(对于标量函数)或多个值(对于表函数)。
The functions can be coded to return a single value (for scalar functions) or multiple values (for table functions).
sql表函数的使用使您可以将过程性逻辑放入到查询的from子句中。
The usage of SQL Table Functions allows you to push procedural logic into the FROM clause of a query.
就像其他的内建函数一样,表函数也可以在SQLselect语句中使用。
Just like any other built-in function, table functions can be used in a SQL SELECT statement.
这个包装器函数的输入值与底层监控表函数相同,所以它也能够筛选返回的数据。
The wrapper function takes as input the same values passed as input to the underlying monitoring table function, so it has the same capability to filter the data that is returned.
系统提供的这三个表函数可以为所有被监视的4种对象类型返回与健康有关的信息。
The three provided table functions can return health-related information for all four monitored object types. These functions are grouped into the following categories.
在图9中,您可以看到我正通过使用视图代替前一图中的表函数,调用相同类型的信息。
In figure 9 you can see that I'm calling the same kind of information by using a view instead of a table function in the previous figure.
与前面的事务一样,这里的大部分逻辑被封装到一个名为PAY_C_LAST的表函数中。
AS in the previous transactions, most of the logic is encapsulated into a table function named PAY_C_LAST .
TBSCAN(18)表示这个SQL表函数中的RETURN语句。
TBSCAN(18) represents the RETURN statement in the SQL Table function.
GENROW表函数会生成在IN 谓词的 <VALUELIST> 中所列的值。
The GENROW table function produces the values listed in the <VALUE LIST> of the IN predicate.
注意,在上面的示例中,使用表函数提取感兴趣的表的数据比搜索快照输出中的数据简单得多。
Notice in the above example how much simpler it is to extract just the data for the table of interest using the table function rather than having to search for the data in the snapshot output.
不能检查样式表函数的可用性,但是可以检查处理程序中内置的厂商编写的扩展函数。
Can't check the availability of stylesheet functions, but you can check for vendor-written extension functions built into the processor?
表函数允许您对非实际表(不是实际上的表)中的数据有效地使用关系操作和SQL。
Table functions enable you to efficiently use relational operations and the power of SQL on data that is not in an actual table.
这个子句允许sql表函数包含UPDATE、DELETE、INSERT和merge语句。
This clause allows an SQL Table function to contain UPDATE, DELETE, INSERT and MERGE statements.
就像在NEW_ORDER事务中一样,所有的步骤被收集到一个sql表函数中,以节省代码路径。
As in the NEW_ORDER transaction, all steps have been collected into one SQL table function to save code path.
XMLTABLE是一个sql表函数,它对一个XML文档执行XQuery表达式并返回一个表。
XMLTABLE is a SQL table function that returns a table from the evaluation of XQuery expressions on an XML document.
在清单9所示的查询访问计划中,要注意表employee和一个表函数GENROW间的一个连接。
In the query access plan shown in Listing 9, notice a join between the table EMPLOYEE and a table function, GENROW.
使用为基线数据的每会话存储创建的全局临时表(CGTT)(对于每个表函数,使用一个 CGTT)。
Use a created global temporary table (CGTT) for per-session storage of the baseline data (use one CGTT per table function).
如果发现扩展函数比样式表函数更好,可以定义样式表函数作为扩展函数不能使用时的第二选择。
If you find that an extension function can do a better job than a stylesheet function, then you can define the stylesheet function to be the second choice when the extension function is not available.
最后,如果在use - when属性之外使用,还可以检查是否支持用户定义的样式表函数。
Finally, if used outside of the use-when attribute, it can also detect if a user-defined stylesheet function is supported.
如果您连接了一个分区并希望检索另一分区的有效设置,就必须在调用该表函数之前,首先连接这个新分区。
If you are connected to one partition and wish to retrieve the effective Settings for another partition, you must first connect to the new partition before invoking the table function.
两个乘法表函数的定义非常相近,但清单3中的函数有用得多(通过清单3中的3次调用即可看出这一点)。
The definitions of the two times-table functions are remarkably close, but the new version is considerably more useful (as you can see from the three invocations in Listing 3).
通过关联(correlation),SQL表函数允许以一种更高效的方式实现迭代,而不是使用游标。
Through correlation, SQL table functions allow a more efficient way of implementing iterations, otherwise done with cursors.
DB 2支持许多种数据库服务器端编程语言,包括存储过程、触发器和函数(表函数和标量函数)。
DB2 supports many database server-side programming languages, including stored procedures, triggers, and functions (table and scalar).
get_dbm_config表函数在一个有两行记录的表中返回数据库管理器的配置信息,每列代表一个参数。
GET_DBM_CONFIG table function Returns database manager configuration information in a table with two rows and a column for each parameter.
应用推荐