Have Oracle use merge

Uses oracle's built-in merge statement to handle inserts and updates in a single statement rather than doing the update in response to an error.

This is my own solution to issue #3.