Post tagged: SQL

Uses for UNION ALL and Views

Right, so yesterday1, I talked about one of the cooler historical SQL hacks out there. Turns out you can (perhaps somewhat incompletely) replicate useful features purely with pure SQL99 (and pure SQL923). There are, in fact, several additional fun ways to use the UNION operator in conjunction with …

Partitioning Without Partitions

One of the common modern features of relational databases is the ability to partition tables. “Partition” can mean a few different things, but in this case, I’m talking about the common use-case of 1- taking a large table, 2- splitting it up into smaller tables, but 3- still accessing …