Subject | Re: [firebird-support] Re: Numeric Overflow Error |
---|---|
Author | John vd Waeter |
Post date | 2007-03-24T11:31:36Z |
Zoran Zivkovic wrote:
Sum(I_CENA*I_KOL*(1-(F_KASP/100.00))*((100-I_RAB)/100)) AS VP
Into
Sum(I_CENA*I_KOL*(1-(F_KASP/100.00))*((100-I_RAB)/100.00)) AS VP
??
> --- In firebird-support@yahoogroups.com, John vd Waeter <john@...>And if you change
> wrote:
>
>>Zile,
>>
>>What if you change date from 10.3.2007 to 10.03.2007 ?
>>
>>and, if that not helps, what if date between 10.03.2007 and
>
> 10.03.2007 ?
>
>>regards,
>>John
>>
>
>
> I Tried it, it is not solution. returning values for 10.3.2007 are
> OK. It occurs when I try to make query with big diference between
> dates - I think becasue returning value can't fit field definition.
> When I look for March, everything is fine.
>
> Regards
>
> Zile
Sum(I_CENA*I_KOL*(1-(F_KASP/100.00))*((100-I_RAB)/100)) AS VP
Into
Sum(I_CENA*I_KOL*(1-(F_KASP/100.00))*((100-I_RAB)/100.00)) AS VP
??