In some cases, EQL supports automatic value promotion of integers to doubles when there is no risk of loss of information.
COALESCE expression when called with a mix of integer and double.+ - * = <> < <= > >= BETWEEN
duration arguments are not converted)CEILCORRELATIONCOSEXPFLOORINLNLOOKUPLOGSINMODPOWERSINSQRTTANTO_GEOCODETRUNCCASE expression return a mix of integer and double results, the integers are promoted to double.For example, in the expression 1 + 3.5, 1 is an integer and 3.5 is a double. The integer value is promoted to a double, and the overall result is 4.5.
COALESCE(Quantity, SingleOrder)
COALESCE(Quantity, TO_INTEGER(SingleOrder))