a↗agentbay.Get AgentBay
My account ▾
Menu
Back to results

swap-databases

Swap the names of two Snowflake databases safely with object sync and grant mirroring. Also handles read-only databases by redirecting dependent objects from one DB to another without renaming. Also handles zerocopy swap of an imported datashare database with a catalog-linked database (CLD). Use when: swapping databases, renaming databases…

Full publisher description

Swap the names of two Snowflake databases safely with object sync and grant mirroring. Also handles read-only databases by redirecting dependent objects from one DB to another without renaming. Also handles zerocopy swap of an imported datashare database with a catalog-linked database (CLD). Use when: swapping databases, renaming databases bidirectionally, blue-green database cutover, migrating database names, database name swap, redirecting dependencies, read-only database migration, shared database replacement, migrate shared views, redirect abstracted views, sfshares migration, zerocopy swap, datashare to CLD, imported database swap CLD. Triggers: swap databases, rename database, swap DB names, database cutover, blue-green swap, exchange databases, redirect dependencies, read-only database, replace shared database, migrate references, migrate sfshares, abstracted views, migrate views, zerocopy, datashare, catalog linked database, CLD, SYSTEM$ZEROCOPY_SWAP.

Source details

Read SKILL.md ↗ · Browse skill folder ↗

Snowflake-Labs/coco-skills

skills/swap-databases/SKILL.md

Pinned revision 32c70bebac600edc8a712304c88a05b0b7b43382

Source checked

Reviewed licence: LicenseRef-Snowflake-Skills-Service-Only
Specific instruction/source terms: Authorized Snowflake service use under the applicable agreement only; outside-service extraction, copying, modification and redistribution are prohibited.

Reviewed publisher revision ↗ · 2026-11-22
This indexed source has a different revision. Verify its applicable terms before use.

This skill page is available in English. Publisher instructions stay in their original language.