Featured article
Declare the Grain Before Writing the Query
Define what one row represents, distinguish entities from revisions and attach that meaning to keys and measures.
SQL, models & data integrity
Original guides and technical studies, written to make the assumptions and trade-offs visible.
Featured article
Define what one row represents, distinguish entities from revisions and attach that meaning to keys and measures.
Give each data rule a scope, a null policy and an action, then keep rejected records visible in the accounting.
Inspect join cardinality, aggregate at the intended grain and preserve missing matches when they matter.
Align population, units and reporting boundaries before comparing totals, and keep missing keys distinct from value differences.
Separate delivery identity from business revision and make repeated input converge on a defined accepted state.
Distinguish instants from local dates and define numeric units and rounding boundaries before aggregation.
From the wider community
Publications from DEV Community. Titles and summaries are attributed to their original authors; the links open the original articles.
When we started building LikeHost, a free comparison table for hosting plans, we assumed the hard...
I added a CUDA path to my query engine last month. It was supposed to be the fast lane. It mostly was...
Preventing over-capture and orphaned holds in two-phase payment flows using immutable SQLite double-entry authorization and settlement accounts.
AddWithValue is one of the most common lines in ADO.NET code. It's short, it works, and it returns...
An import normalizes labels in batches of two. It reads IDs 3 and 7, updates its progress to 7, and...
Introduction I built a procurement and invoice control application to explore how Oracle...