Enforce precision and scale for upsert select.