Multiplying or Dividing INTERVAL Values
You
can multiply or divide INTERVAL values by numbers. Any remainder from
the calculation is ignored, however, and the result is truncated to
the precision of the INTERVAL. The following expression multiplies
an INTERVAL value by a literal number that has a fractional part:
INTERVAL (15:30.0002) MINUTE TO FRACTION(4) * 2.5
Result: INTERVAL (38:45.0005) MINUTE TO FRACTION(4)
In this example, 15 * 2.5 = 37.5 minutes, 30 * 2.5 = 75 seconds, and 2 * 2.5 = 5 FRACTION (4). The 0.5 minute is converted into 30 seconds and 60 seconds are converted into 1 minute, which produces the final result of 38 minutes, 45 seconds, and 0.0005 of a second. The result of any calculation has the same precision as the original INTERVAL operand.