Focal Point
Why dates are tough...

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/5831018331

November 18, 2004, 07:06 PM
George Brown
Why dates are tough...
We are trying to do a compute for when a date is missing from our oracle table. There seems to be an issue between running the same code in a "where" statement than in an "if" statement.

When I run

IF DATE_TAKEN NE MISSING THEN 0 ELSE 1; 
I get the error
(FOC280) COMPARISON BETWEEN COMPUTATIONAL AND ALPHA VALUES IS NOT ALLOWED

but if I run
WHERE DATE_TAKEN NE MISSING; 
there are no errors and everyone is happy. Is there some hidden reason that my code is not working?
November 18, 2004, 08:37 PM
suzy_smith
No guarantees that my memory is correct, but I seem to think that the phrase

IS-NOT MISSING

used to work.