Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
SaTriGuy — — source: Informix-list mailing list archive (1991-1998)
>Not considering indexes, does it make any difference to the informix
>optimizer
> if we switch the order of conditions in a where clause. For example, which
>one
> is better:
>
>select * from A where p = q and r = s or
>select * from A where r = s and p = q .>
>None of p,q,r, and s is indexed.
Nope - not this this query. The optimizer will treat an "and" condition as an
"equiviliant" and will consider both when creating the query plan.
Madison Pruet
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.