I have to checkpoint this because I'm trying to get a very complicated
multi-layered SQL query for inserting version history into the database
and I need to improve it iteratively
I've got a new binary that I can use to directly test complex stored
procedures. This is to shorted my testing loop.