DESCRIBE NETWORK RULE¶
描述为网络规则指定的属性。
DESCRIBE 可以缩写为 DESC。
语法¶
DESC[RIBE] NETWORK RULE <name>
参数¶
name指定要描述的网络规则的标识符。
如果标识符包含空格或特殊字符,则整个字符串必须放在双引号内。放在双引号内的标识符区分大小写。
输出¶
命令输出在以下列中提供网络规则属性和元数据:
列 |
描述 |
|---|---|
|
创建网络规则的日期和时间。 |
|
网络规则的名称。 |
|
包含在其中创建网络规则的架构的数据库。 |
|
在其中创建网络规则的架构。 |
|
对网络规则具有 OWNERSHIP 权限的角色。 |
|
与网络规则相关的描述性文本。 |
|
网络规则的 |
|
网络规则的 |
|
在网络规则的 |
访问控制要求¶
权限 |
对象 |
备注 |
|---|---|---|
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.
示例¶
描述名为 myrule 的网络规则:
DESC NETWORK RULE myrule;