SYSTEM$DISABLE_DATABASE_REPLICATION

functionsupportedReplication, failover & backup

docs.snowflake.com ↗

System functions

Disable replication for a primary database and any secondary databases linked to it. If a database was previously enabled for replication using ALTER DATABASE … ENABLE REPLICATION TO ACCOUNTS, database replication must be disabled before the database can be added to a replication or failover group.

Syntax

SYSTEM$DISABLE_DATABASE_REPLICATION('<db_name>');

Parameters

NameRequiredDescription
db_namerequiredSpecifies the identifier for the database.

Usage notes