Salesforce Decode
Salesforcedecode
SOQL & Data ModelingIntermediateScenariointegrationsoqldelta-sync

How do you fetch only records changed since the last sync?

Scenario

An integration exports all 2 million Accounts every night, though only a few thousand change.

Answer it out loud first

Serious prep means attempting before reading. Take two minutes to structure your answer, then compare.