存储定义客户端应如何处理脚本错误的规则。
列 |
说明 |
---|---|
failed_script_id |
INTEGER。标识应用此规则的脚本。在 ml_passthrough_script 表中引用 script_id 的值。 |
error_code |
INTEGER。此规则处理的错误代码。 |
new_script_id |
INTEGER。ml_passthrough_script 表中定义的 script_id,表示修复脚本。如果操作是 R,该值指定用于替换错误脚本的脚本。该值引用 ml_passthrough_script 表的 script_id 列。如果操作是 S、P 或 H,则该值为空。 |
action |
CHAR(1)。当脚本失败时在客户端执行的操作。该值必须是下列项之一:
|
您可以使用系统过程 ml_add_passthrough_repair 和 ml_delete_passthrough_repair 添加、修改及删除表中的条目。
对于 DB2 主机统一数据库类型,该表称为 ml_pt_repair。请参见IBM DB2 主机系统表名称转换。
PRIMARY KEY( failed_script_id, error_code )
FOREIGN KEY( failed_script_id ) REFERENCES ml_passthrough_script( script_id )
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |