Wrangler to oracle re-write