SYSTEM$GLOBAL_ACCOUNT_SET_PARAMETER

functionsupportedAccounts, users, sessions, warehouses

docs.snowflake.com ↗

System functions

Enables replication and failover features for a specified account in an organization. After an organization administrator has called this function, the following features are enabled for the account: - Replication - Client Redirect Call the SQL function once for each account in your organization for which you are enabling replication and failover features. This includes each account that you intend to contain a primary or secondary replication or failover group, database, or connection.

Syntax

SELECT SYSTEM$GLOBAL_ACCOUNT_SET_PARAMETER('<account_identifier>',
  'ENABLE_ACCOUNT_DATABASE_REPLICATION', 'true');

Parameters

NameRequiredDescription
<account_identifier>requiredIdentifier of an account for which you are enabling replication. The preferred format for the identifier is organization_name.account_name. Though the legacy account_locator format is also supported, its use is discouraged as it can cause unexpected results when an organization has multiple accounts with the same locator (in different regions). Retrieve the set of accounts in your organization using the SHOW ACCOUNTS command, which returns details about each account, including the organization name, account name, and account locator.

Usage notes