Subject | Re: [firebird-support] Re: Why a certain expression in 'where' throws an error? |
---|---|
Author | Mark Rotteveel |
Post date | 2010-12-22T16:40:51Z |
> Sorry, the error is:What is your Firebird version, and what is the dialect version of your database?
>
> ISC ERROR CODE:335544378
> ISC ERROR MESSAGE: feature is not supported
>
> In the other hand, now I see that the problem is the BETWEEN. If I use
>
>
> SELECT * FROM Orders
> WHERE
> CAST(OrderDate + CAST((LfAvgDays+0.5) AS INTEGER) AS DATE) >= '2009/1/1'
> AND CAST(OrderDate + CAST((LfAvgDays+0.5) AS INTEGER) AS DATE) <=
> '2010/1/1'
>
> then it works fine. The problem is solved but I am curious about why
> BETWEEN does not work here.
Mark
--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 100,- Euro! https://freundschaftswerbung.gmx.de