Subject | RE: [firebird-support] Optimizing in (...) Statements |
---|---|
Author | Planles |
Post date | 2004-10-14T11:02:45Z |
> whereI think this should return the same result:
> Field1 in (1,2,3) and
> Field2 in (1,2)
>
where
((Field1 = 1) or (Field1 = 2) or (Field1 = 3)) and
((Field2 = 1) or (Field2 = 2))
I'm not sure how fast this method is...
Regards,
Primoz