Icon View Incident Report

Minor Minor
Reported By: Tiago Ameller
Reported On: 12/1/2008
For: Version 2.02 Build 3
# 2862 Multiplying or Dividing INTERVAL Values Causes Incorrect Results

The following SQL inside a trigger returns incorrect results. It returns returns 3773952000000000 instead of 43680000.

CAST(CAST(MananaHasta-MananaDesde AS INTERVAL MSECOND)*2 AS INTERVAL HOUR TO MINUTE)



Comments Comments and Workarounds
The workaround in this case was to use addition instead of multiplication.


Resolution Resolution
Fixed Problem on 12/2/2008 in version 2.02 build 4


Products Affected Products Affected
ElevateDB Additional Software and Utilities
ElevateDB DAC Client-Server
ElevateDB DAC Client-Server with Source
ElevateDB DAC Standard
ElevateDB DAC Standard with Source
ElevateDB DAC Trial
ElevateDB LCL Standard with Source
ElevateDB VCL Client-Server
ElevateDB VCL Client-Server with Source
ElevateDB VCL Standard
ElevateDB VCL Standard with Source
ElevateDB VCL Trial

Image