Sync new SQL Server rows to secondary database
Database
What it does
When a new row is created in the salesforce_opportunity_with_auto table in SQL Server, this automation upserts that row into the salesforce_opportunity table in SQL Server secondary. Both databases stay synchronized without manual work.
Who it's for
Data and analytics teams who need to keep a secondary SQL Server database in sync with their primary database.
Apps used
- SQL Server
- Mssql Secondary
How teams use this
Keep reporting database current
Sync opportunity records from the primary database to a secondary reporting instance so analysts always query fresh data without impacting production performance.
Replicate to a backup database
Mirror the primary opportunity table to a secondary database for disaster recovery. If the primary fails, the secondary has the latest records.
Filter rows before syncing
Add a condition to upsert only rows where a specific column meets a value, so the secondary database contains only the records the team needs.
How it works
- Monitor for new rows. Watch the salesforce_opportunity_with_auto table in SQL Server for new rows. When one appears, this automation starts.
- Upsert to secondary database. Upsert the row into the salesforce_opportunity table in SQL Server secondary. If the row exists, it updates; if not, it inserts.