GaussDB-GS_SPM_SQL_PARAM
GS_SPM_SQL_PARAM是SPM计划管理特性下的系统视图,当前该特性在分布式下不支持。该视图用于查看当前用户的SQL参数信息,普通用户以上权限均可以访问该视图。
| 名称 | 类型 | 描述 |
|---|---|---|
| sql_namespace | oid | Schema的oid。 |
| sql_hash | bigint | 当前Schema中SQL的唯一标识。 |
| sql_text | text | SQL的文本串。 |
| position | integer | 参数在SQL中的位置索引,从0开始。 |
| datatype | integer | 参数类型的oid。 |
| datatype_string | text | 参数类型的字符串形式。 |
| value_string | text | 参数值的字符串形式。 |
| is_null | boolean | 参数值是否是NULL。 |
| hash_value | bigint | 参数值的哈希值。 |
| creation_time | timestamp with time zone | 本记录的创建时间。 |
更多详情请参考GaussDB 文档中心:doc.hcs.huawei.com/db/zh-cn/ga…