SYSIBM.SYSPACKSTMT db2 存储statement的表
SYSIBM.SYSPACKSTMT table
The SYSIBM.SYSPACKSTMT table contains one or more rows for each statement in a package.
| Column name | Data type | Description | Use |
|---|---|---|---|
| LOCATION |
VARCHAR(128)
NOT NULL
|
Always contains blanks | S |
| COLLID |
VARCHAR(128)
NOT NULL
|
Name of the package collection. | G |
| NAME |
VARCHAR(128)
NOT NULL
|
Name of the package. | G |
| CONTOKEN |
CHAR(8)
NOT NULL
FOR BIT DATA
|
Consistency token for the package. This is either:
|
S |
| SEQNO |
INTEGER
NOT NULL
|
Not used.![]() |
G |
| STMTNO |
SMALLINT
NOT NULL
|
The statement number of the statement in the source program. A statement number greater than 32767 is stored as zero1 or as a negative number2. If the value is zero, see STMTNOI for the statement number. | G |
| SECTNO |
SMALLINT
NOT NULL
|
The section number of the statement.2 | G |
| BINDERROR |
CHAR(1)
NOT NULL
|
Whether an SQL error was detected at bind time:
|
G |
| IBMREQD |
CHAR(1)
NOT NULL
|
A value of Y indicates that the row came from the basic machine-readable material (MRM) tape. For all other values, see Release dependency indicators.
The value in this field is not a reliable indicator of release dependencies. |
G |
| VERSION |
VARCHAR(122)
NOT NULL
|
Version identifier for the package. | G |
![]() |
VARCHAR(3500)
NOT NULL WITH
DEFAULT
FOR BIT DATA
|
Internal use only.![]() |
I![]() |
| ISOLATION |
CHAR(1)
NOT NULL WITH
DEFAULT
|
Isolation level for the SQL statement:
|
G |
| STATUS |
CHAR(1)
NOT NULL WITH
DEFAULT
|
Status of binding the statement:
|
S |
| STATUS (cont.) |
|
||
| ACCESSPATH |
CHAR(1)
NOT NULL WITH
DEFAULT
|
For static statements, indicates if the access path for the statement is based on user-specified optimization hints:
|
G |
| STMTNOI |
INTEGER
NOT NULL WITH
DEFAULT
|
If the value of STMTNO is zero, the column contains the statement number of the statement in the source program. If both STMTNO and STMTNOI are zero, the statement number is greater than 32767. | G |
| SECTNOI |
INTEGER
NOT NULL WITH
DEFAULT
|
The section number of the statement. | G |
| EXPLAINABLE |
CHAR(1)
NOT NULL WITH
DEFAULT
|
Contains one of the following values:
|
G |
| QUERYNO |
INTEGER
NOT NULL WITH
DEFAULT –1
|
The query number of the SQL statement in the source program. SQL statements bound prior to Version 7 have a default value of –1. Statements bound in Version 7 or later use the value specified on the QUERYNO clause on SELECT, UPDATE, INSERT, DELETE, EXPLAIN, DECLARE CURSOR, or REFRESH TABLE statements. If the QUERYNO clause is not specified, the query number is set to the statement number. | G |
ROWID![]() |
ROWID
NULL GENERATED
ALWAYS
|
ROWID column, created for the lob columns in this table.![]() |
G![]() |
STMT_ID![]() |
BIGINT
NOT NULL
|
A unique statement identifier.![]() |
G![]() |
STATEMENT![]() |
CLOB(2M)
NOT NULL
WITH DEFAULT
|
The complete text for the SQL statement that the row represents.![]() |
G![]() |
![]() |
BLOB(2M)
NOT NULL
WITH DEFAULT
|
Internal use only.![]() |
I![]() |
SYSIBM.SYSPACKSTMT db2 存储statement的表的更多相关文章
- InnoDB存储引擎的表空间文件,重做日志文件
存储引擎文件:因为MySQL表存储引擎的关系,每个存储引擎都会有自己的文件来保存各种数据.这些存储引擎真正存储了数据和索引等数据. 表空间文件 InnoDB存储引擎在存储设计上模仿了Oracle,将存 ...
- 浅谈MySql的存储引擎(表类型)
来源:http://www.cnblogs.com/lina1006/archive/2011/04/29/2032894.html 什么是MySql数据库 通常意义上,数据库也就是数据的集合,具体到 ...
- Atitit 数据存储的数据表连接attilax总结
Atitit 数据存储的数据表连接attilax总结 1.1. 三种物理连接运算符:嵌套循环连接.合并连接以及哈希连接1 1.2. a.嵌套循环连接(nested loops join)1 1.3. ...
- 浅谈MySql的存储引擎(表类型) (转)
什么是MySql数据库 通常意义上,数据库也就是数据的集合,具体到计算机上数据库可以是存储器上一些文件的集合或者一些内存数据的集合. 我们通常说的MySql数据库,sql server数据库等等其实是 ...
- 将字符串存储到注册表中,长度一定是 strlen(text) + 1
参考:https://docs.microsoft.com/en-us/windows/desktop/sysinfo/registry-value-types 将字符串存储到注册表中,长度参数一定要 ...
- 存储引擎和表的操作(mysql中的数据类型、完整性约束)
一.存储引擎 .概念 MySQL中的数据用各种不同的技术存储在文件(或者内存)中.这些技术中的每一种技术都使用不同的存储机制.索引技巧.锁定水平并且最终提供广泛的不同的功能和能力. 通过选择不同的技术 ...
- DB2如何将数据库表解锁
死锁是应用程序争抢资源造成de,把相关应用程序结束掉就可以解除死锁了 先用list application for database yourdatabasename show detail 来看看应 ...
- (转)浅谈MySql的存储引擎(表类型)
原文:http://www.cnblogs.com/lina1006/archive/2011/04/29/2032894.html 什么是MySql数据库 通常意义上,数据库也就是数据的集合,具体到 ...
- 018:InnoDB 存储引擎、表空间
目录 一.InnoDB 存储引擎 1. InnoDB的历史 2. InnoDB的特点 3. InnoDB存储引擎的文件 3.1 概述 3.2 InnoDB - 表空间 3.3 General表空间 3 ...
随机推荐
- sql查询比较两表不同数据与相同数据
以下举例是查询相同数据,否则则相反 方法一: select * from A as x,B as y where x.a1=y.b1 and x.a2=y.b2 and x.a3=y.b3 方法二: ...
- ASP.NET发送邮件(QQ发送)
public void SetEmail() { //电子邮件对象 MailMessage mailMessage = new MailMes ...
- DP~青蛙过河(hrbust1186)
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAxoAAAKlCAYAAABMq5pGAAAgAElEQVR4nOzdf4xl53nY9/mrQP8r+k
- Opencv SkinOtsu皮肤检测
void SkinRGB(IplImage* rgb, IplImage* _dst) { assert(rgb->nChannels == && _dst->nChann ...
- Android 数据存储之 SQLite数据库存储
----------------------------------------SQLite数据库---------------------------------------------- SQLi ...
- 2016年11月10日--CSS动画
jquery动画:http://www.w3school.com.cn/jquery/jquery_animate.aspCSS3动画教程1:http://www.w3school.com.cn/cs ...
- python——tuple元组
>>> dir(tuple) ['__add__', '__class__', '__contains__', '__delattr__', '__doc__', '__eq__', ...
- 中文的加密传输(python版)
信息传输过程中,可能会被各种监听. 这里介绍一种简单的加密算法(可逆). 正向加密: 字符串 -> 字节(char->int转换) -> 异或每个字节某个KEY ->字节(i ...
- PHP+Hadoop实现数据统计分析
记一次完全独立完成的统计分析系统的搭建过程,主要用到了PHP+Hadoop+Hive+Thrift+Mysql实现 安装 Hadoop安装: http://www.powerxing.com/inst ...
- ulimit命令
原文链接 linux下默认是不产生core文件的,要用ulimit -c unlimited放开 概述 系统性能一直是一个受关注的话题,如何通过最简单的设置来实现最有效的性能调优,如何在有限资源的条件 ...
Not used.