Icon View Incident Report

Serious Serious
Reported By: Kevin Koehne
Reported On: 6/13/2019
For: Version 2.31 Build 5
# 4750 Using a Named Parameter in Multiple Contexts Can Cause a Conversion Error

The following is an example that can be prepared, but after setting a value for :ReportDate and executing the query, this error is generated:

ElevateDB Error #1011 An error occurred with the value 2019-01-03 (A conversion error occurred with the value 2019-01-03)

Select *
From (
Select StartDate, EndDate
From testDate
where :ReportDate between StartDate and EndDate
Union
Select StartDate, EndDate
From testDate
where Cast(:ReportDate, Date) - Interval '1' Day between StartDate and EndDate
) d



Comments Comments
This was an issue with parameters that was introduced when we added the new join optimizations that dealt with skipping processing joins when the driver join column didn't change.


Resolution Resolution
Fixed Problem on 6/14/2019 in version 2.31 build 6


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 PHP Standard
ElevateDB PHP Standard with Source
ElevateDB PHP Trial
ElevateDB VCL Client-Server
ElevateDB VCL Client-Server with Source
ElevateDB VCL Standard
ElevateDB VCL Standard with Source
ElevateDB VCL Trial

Image