Fix insert/update/delete helper functions for oracle