oracle - fix returning for non-integer types