Subject | Re: [firebird-support] Re: Conditional conundrum |
---|---|
Author | Ann W. Harrison |
Post date | 2005-10-20T21:02:12Z |
Rick Debay wrote:
I can bear to contemplate.
Firebird can certainly handle 'X' = 'U', though it does not currently
recognize the tautology and checks each candidate row.
Regards,
Ann
> Is this legal for Firebird? In the stored procedure it would resolve toNULL is a separate discussion, which has been held more time than
>
> Where
> (unit_use in ('U') and 'X' = 'U') or
> (unit_use not in ('U') and 'X' not ='U')
>
> If the parameter passed to the stored procedure was 'X'. From
> experience and previous discussions, the planner has problems with
> statements like this (the most discussed conditional that gives the
> planner a fit is NULL IS NULL).
I can bear to contemplate.
Firebird can certainly handle 'X' = 'U', though it does not currently
recognize the tautology and checks each candidate row.
Regards,
Ann