Subject | Re: [Firebird-Architect] IN LIST |
---|---|
Author | Adriano dos Santos Fernandes |
Post date | 2006-12-03T16:33:27Z |
Arno Brinkman wrote:
lesser and Y being the higher value of the list.
Adriano
> At which point (layer) do you expand the list (represented as string) into the new evaluation itemsIn the optimizer.
> ((ID BETWEEN 5 and 10) or (ID BETWEEN 20 and 30) or (ID = 50))?
>
> If i correctly understand this wouldn't be able to use an index on ID.It could be handled for index walk as BETWEEN X AND Y, with X being the
>
lesser and Y being the higher value of the list.
Adriano