Categories:

System functions (System Control)

SYSTEM$DISABLE_GLOBAL_DATA_SHARING_FOR_ACCOUNT¶

Disables Cross-Cloud Auto-Fulfillment on an account.

See also:

SYSTEM$IS_GLOBAL_DATA_SHARING_ENABLED_FOR_ACCOUNT , SYSTEM$ENABLE_GLOBAL_DATA_SHARING_FOR_ACCOUNT, Configuring Cross-Cloud Auto-Fulfillment

Syntax¶

SYSTEM$DISABLE_GLOBAL_DATA_SHARING_FOR_ACCOUNT( '<account_name>' )
Copy

Arguments¶

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¶

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

Access control requirements¶

Examples¶

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

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