Subject | Re: [firebird-support] Dynamic SQL Error |
---|---|
Author | Dimitry Sibiryakov |
Post date | 2005-04-26T09:40:34Z |
On 26 Apr 2005 at 17:32, Grant Brown wrote:
PRECISION)/1440;
Without second cast this expression won't work because in dialect 3
1/1440 = 0.
--
SY, Dimitry Sibiryakov.
>My lack of knowledge is preventing me from fixing the problem as I canFirebird does not use implicit casts in expression.
>not work out what the problem is.
> FTime= 'Now' - (3/1440); /*create the check time stamp*/FTime = CAST('Now' as TIMESTAMP) - CAST(3 as DOUBLE
PRECISION)/1440;
Without second cast this expression won't work because in dialect 3
1/1440 = 0.
--
SY, Dimitry Sibiryakov.