Categories:

System functions (System Control)

SYSTEM$SET_EVENT_SHARING_ACCOUNT_FOR_REGION

设置区域的事件账户。

See also:

SYSTEM$UNSET_EVENT_SHARING_ACCOUNT_FOR_REGION

语法

SYSTEM$SET_EVENT_SHARING_ACCOUNT_FOR_REGION( '<snowflake_region>' , '<region_group>' , '<account_name>' )

实参

snowflake_region

Specifies the region where the account is located, for example: AWS_US_WEST_2, AWS_US_EAST_1.

region_group

Specifies the region group, for example: PUBLIC. Refer to Region groups for details.

account_name

指定账户名称。如果在指定区域中已将其他账户设置为事件账户,则调用此函数会将事件账户更改为此处指定的账户。

访问控制要求

示例

SELECT SYSTEM$SET_EVENT_SHARING_ACCOUNT_FOR_REGION('aws_us_west_2', 'public', 'myaccount');