SQL
Posts tagged “SQL”.
- The Duplicate Files That Weren't Duplicates
File checksums catch identical deliveries, but overlapping business rows need set and multiplicity comparisons that answer a different question.
- Two Customer IDs, Both Correct
Source identity and current master-data identity can disagree without either being corrupt. The hard part is choosing the meaning of the join.
- The Rows That Never Reached the Reject Table
A clean reject table can hide rows excluded before validation. Trace the extraction boundary before trusting ingestion quality counts.
- Timestamps Beat a Mutable Status Column
Write-once timestamps can derive current and historical status for one-way lifecycles; repeating transitions still require an event table.
- Keep the Runner Dumb
A single-file SQL runner stays reliable by refusing to parse SQL, hold state, or schedule work—the boundaries small pipelines often need.