Categories:

System functions (System Control)

SYSTEM$DISABLE_GLOBAL_DATA_SHARING_FOR_ACCOUNT

在账户上禁用 Cross-Cloud Auto-Fulfillment。

See also:

SYSTEM$IS_GLOBAL_DATA_SHARING_ENABLED_FOR_ACCOUNT , SYSTEM$ENABLE_GLOBAL_DATA_SHARING_FOR_ACCOUNT, Auto-fulfillment for listings

语法

SYSTEM$DISABLE_GLOBAL_DATA_SHARING_FOR_ACCOUNT( '<account_name>' )

实参

account_name

Specifies the account on which to disable Cross-Cloud Auto-Fulfillment. To learn more about Snowflake account identifiers and how to locate them, see Account identifiers.

返回

Returns the VARCHAR value Statement executed successfully if the function successfully disables Cross-Cloud Auto-Fulfillment on the account.

访问控制要求

示例

The following example disables Cross-Cloud Auto-Fulfillment on the account named my_account:

SELECT SYSTEM$DISABLE_GLOBAL_DATA_SHARING_FOR_ACCOUNT('my_account');
+--------------------------------------------------------------------+
| SYSTEM$ENABLE_GLOBAL_DATA_SHARING_FOR_ACCOUNT('my_account') |
%--------------------------------------------------------------------%
| Statement executed successfully                                    |
+--------------------------------------------------------------------+