DESCRIBE NOTIFICATION INTEGRATION¶
描述通知集成的属性。
DESCRIBE 可以缩写为 DESC。
- 另请参阅:
CREATE NOTIFICATION INTEGRATION、ALTER NOTIFICATION INTEGRATION、SHOW NOTIFICATION INTEGRATIONS、DROP INTEGRATION
语法¶
{ DESC | DESCRIBE } NOTIFICATION INTEGRATION <name>
参数¶
name指定要描述的通知集成的标识符。
如果标识符包含空格或特殊字符,则整个字符串必须放在双引号内。放在双引号内的标识符也区分大小写。
有关更多信息,请参阅 标识符要求。
输出¶
命令的输出包括以下列,它们描述了对象的属性和元数据:
列 |
描述 |
|---|---|
|
属性名称(请参阅 通知集成的属性)。 |
|
属性的数据类型(例如, |
|
分配给属性的值。 |
|
属性的默认值。 |
property 列可以包含通知集成的以下属性:
属性 |
描述 |
|---|---|
|
指定是否启用通知集成。 |
|
指定通知集成是否支持发送通知 ( |
|
指定通知集成的注释。 |
特定于通知集成类型的附加属性。 |
这些是您在创建或更改通知集成时设置的属性。 有关这些属性的更多信息,请参阅特定类型的 CREATE NOTIFICATION INTEGRATION 或 ALTER NOTIFICATION INTEGRATION 命令。 |
访问控制要求¶
用于执行此 SQL 命令的 角色 必须至少具有以下 一项 权限:
权限 |
对象 |
备注 |
|---|---|---|
USAGE |
集成 |
|
OWNERSHIP |
集成 |
OWNERSHIP is a special privilege on an object that is automatically granted to the role that created the object, but can also be transferred using the GRANT OWNERSHIP command to a different role by the owning role (or any role with the MANAGE GRANTS privilege). |
有关创建具有指定权限集的自定义角色的说明,请参阅 创建自定义角色。
使用说明¶
To post-process the output of this command, you can use the pipe operator (
->>) or the RESULT_SCAN function. Both constructs treat the output as a result set that you can query.The output column names for this command are generated in lowercase. If you consume a result set from this command with the pipe operator or the RESULT_SCAN function, use double-quoted identifiers for the column names in the query to ensure that they match the column names in the output that was scanned. For example, if the name of an output column is
type, then specify"type"for the identifier.
示例¶
描述名为 my_notify_int 的通知集成的属性:
DESC INTEGRATION my_notify_int;