Sync SQL Server rows to secondary database
Database
What it does
When a new row is created or updated in SQL Server, this automation upserts that row to a table in SQL Server secondary. The secondary table stays in sync with the primary without manual intervention.
Who it's for
Data and analytics teams who need to replicate SQL Server data across databases.
Apps used
- SQL Server
- Mssql Secondary
How teams use this
Keep backup databases current
Replicate opportunity data from the primary SQL Server to a secondary database in real time so backups and reporting always have the latest information without manual syncs.
Support read-only reporting instances
Sync opportunity records to a secondary SQL Server that serves as a read-only reporting database, letting analysts query without impacting production performance.
Filter rows before syncing to secondary
Add a condition to only upsert rows that meet specific criteria, such as opportunities with a certain stage or amount, so the secondary table contains only relevant data.
Replicate data for compliance teams
Sync opportunity records to a secondary database that compliance teams use for audit trails and historical data retention, keeping both systems aligned without manual exports.
How it works
- Monitor for new or updated rows. Watch the dbo.salesforce_opportunity_with_auto table in SQL Server for any new rows or changes to existing rows.
- Upsert row to secondary. Upsert that row into the dbo.salesforce_opportunity table in SQL Server secondary so it creates the record if missing or updates it if it already exists.