Icon View Incident Report

Minor Minor
Reported By: Adam Brett
Reported On: 1/27/2011
For: Version 2.05 Build 2
# 3374 Cannot Use a DATE Expression in a Default Expression for a TIMESTAMP Column

I cannot use the following COLUMN DEFINITION in ElevateDB ... it chokes, seeing a mismatch between the data-type of the column and its default value.

DateSent TIMESTAMP DEFAULT Current_Date

Workaround:

DateSent TIMESTAMP DEFAULT CAST(Current_Date() AS TIMESTAMP)



Comments Comments and Workarounds
The workaround is to CAST() the CURRENT_DATE() call to a TIMESTAMP.


Resolution Resolution
Fixed Problem on 1/28/2011 in version 2.05 build 3


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