Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » SQL Anywhere 服务器 - SQL 参考 » 系统对象 » » 诊断跟踪表

 

sa_diagnostic_hostvariable 表

sa_diagnostic_hostvariable 表属于 dbo 用户,其中包含指定游标所使用的主机变量的值。

此表有两个版本:sa_diagnostic_hostvariable 和 sa_tmp_diagnostic_hostvariable。

列名 列类型 列约束 表约束
logging_session_id UNSIGNED INT NOT NULL

主键。

外键引用 sa_diagnostic_request。

request_id UNSIGNED BIGINT NOT NULL

主键。

外键引用 sa_diagnostic_request。

cursor_id UNSIGNED BIGINT
hostvar_num UNSIGNED SMALLINT NOT NULL 主键。
hostvar_type UNSIGNED TINYINT NOT NULL
hostvar_value LONG VARCHAR

logging_session_id   唯一地标识记录会话(在此会话期间收集诊断信息)的编号。

request_id   主机变量所属请求的 ID。

cursor_id   主机变量所属游标的 ID。

hostvar_num   主机变量在 SQL 语句中的顺序位置。

hostvar_type   主机变量的域编号,通常为字符串、整数或浮点数。

hostvar_value   用于表示主机变量的值的字符串。即使主机变量为整数或浮点数,此时仍将该值表示为字符串。

另请参见