1. A signal bearing medium tangibly embodying a program of machine-readable instructions executable by a processor to perform operations, the operations comprising: receiving a source code indicative of each partition of a range partitioned database table; and generating a choose tree from the source code at compile time, the choose tree being representative of a pre-computed binary search of the range partitioned database table.