A method for performing multiple merge operations with a source data
structure and a plurality of destination data structures, in which the
source data structure is scanned one time in order to obtain source data
that is then used for multiple merge operations. The source data is then
used consecutively in order to merge the source data into the one or more
destination data structures. Each merge is performed using the same scan
of the source data structure and within the same execution of a database
command.