Subject | Re: [firebird-support] Firebird 1.5 & DIALECT 3 and 'now' |
---|---|
Author | Aage Johansen |
Post date | 2008-02-14T20:39:43Z |
Helen Borrie wrote:
--
Aage J.
>> ...Note that (1/60) will evaluate to 0.
>> How can I make my query working under Dialect 3?
>
> select * from USER_SESSION
> WHERE (cast ('now' as timestamp) - LastPageTime) > (1/60);
>
> or
>
> select * from USER_SESSION
> WHERE (CURRENT_TIMESTAMP - LastPageTime) > (1/60);
>
--
Aage J.