- Categories:
System functions (System Control)
SYSTEM$ENABLE_ GLOBAL_ DATA_ SHARING_ FOR_ ACCOUNT¶
Enables Cross-Cloud Auto-Fulfillment on an account. Cross-Cloud Auto-Fulfillment allows you to automatically provide the share or application package attached to your listing to other Snowflake consumer regions.
Syntax¶
Arguments¶
account_nameThe name of the account on which to enable Cross-Cloud Auto-Fulfillment. This is the account name only (for example,
my_account), which is the value returned byCURRENT_ACCOUNT_NAME(). Do not pass the full account identifier used in account URLs or SQL (such asmyorg-my_accountormyorg.my_account). To learn more about Snowflake account identifiers, see Account identifiers.
Returns¶
Returns the VARCHAR value Statement executed successfully if the function successfully enables Cross-Cloud Auto-Fulfillment on the account.
Access control requirements¶
- Only organization administrators can execute this function.
Examples¶
To retrieve the account name to pass to this function, call CURRENT_ACCOUNT_NAME():
The following example enables Cross-Cloud Auto-Fulfillment on the account named my_account: