Subject | Re: [firebird-support] time sql problem |
---|---|
Author | Ivan Prenosil |
Post date | 2004-09-01T15:34:25Z |
> The problem comes with the ('NOW' - STATUS_CHANGED) > 1/24'NOW' is string literal, not timestamp value.
> (STATUS_CHANGED IS A TIMESTAMP) , trying to run the sql I get an error
> about not being able to do the comparison?
Either use
CAST('NOW' AS TIMESTAMP)
or
CURRENT_TIMESTAMP
Ivan