已声明的全局临时表上的runstats。
创建一个用作全局临时表的用户表空间。
Create a user temporary table space for use by the global temporary table.
定义在声明的全局临时表上的索引不能被转移。
Indexes defined on a declared global temporary table cannot be transferred.
注意:和事务性状态对象一样,DB2 实现了声明式的全局临时表。
Note: In contrast, DB2 has implemented declared global temporary tables as transactional state objects.
用户临时表空间: 用户临时表空间存储已声明的全局临时表。
User temporary table spaces: User temporary table spaces store declared global temporary tables.
对全局临时表的一个通用扩展,允许没有日志记录的临时表完全脱离事务控制。
A general extension to global temporary tables, which allows temporary tables that are not logged to be completely taken out of transaction control.
已创建的全局临时表(CGTT)是DB 2 9.7中的新特性,它提供了以下功能。
Created global temporary tables (CGTTs) are a new feature in DB2 9.7 that provide the following new capabilities.
将已声明的全局临时表(DGTT)转换为已创建的全局临时表(CGTT)。
Convert a declared global temporary table (DGTT) to a created global temporary table (CGTT).
使用为基线数据的每会话存储创建的全局临时表(CGTT)(对于每个表函数,使用一个 CGTT)。
Use a created global temporary table (CGTT) for per-session storage of the baseline data (use one CGTT per table function).
CREATETEMPORARYTABLE除了声明全局临时表之外,DB 2还支持创建全局临时表。
Create temporary table DB2 supports created global temporary tables in addition to declared global temporary tables.
这里有必要提到现在支持在声明的全局临时表中包含xml列,因为这可以帮助程序员提高应用程序的运行时性能。
New support for including XML columns in declared global temporary tables deserves brief mention, because it can help programmers to improve the runtime performance of their applications.
清单2将为新创建的全局临时表创建一个公有别名,以便于可以使用gtt _ test来引用它,而不需要限定表名。
Listing 2 creates a public alias for the newly create global temporary table so that it can be referred to as gtt_test without having to qualify the table name.
如果跟踪模式没有被设为OFF(即默认情况),那么将使用下面的名称和格式,把每个入口、出口和非零s QL代码都记录到一个全局临时表中。
If the trace mode is not set to OFF (which is the default), then each entry, exit and non-zero SQL code will be logged in a global temp table with the following name and format.
例如,客户机应用程序可以使用SQL和结果集逻辑把VSAM或IMS数据读取到全局或声明的临时表中,然后处理它们。
For instance VSAM or IMS data can be retrieved into a global or declared temporary table and subsequently processed by client applications using SQL and result set logic.
例如,客户机应用程序可以使用SQL和结果集逻辑把VSAM或IMS数据读取到全局或声明的临时表中,然后处理它们。
For instance VSAM or IMS data can be retrieved into a global or declared temporary table and subsequently processed by client applications using SQL and result set logic.
应用推荐