Subject | Re: [firebird-support] Index not used by "where xxx not null" query? |
---|---|
Author | Nando Dessena |
Post date | 2006-02-27T15:48:12Z |
Kjell,
KR> the first non-null record (skip all the nulls - should be easy using the
KR> idnex, or am I wrong?) and then return that record and all that follow
KR> until the end.
:-) this is exactly my enhancement proposal.
Ciao
--
Nando Dessena
http://www.flamerobin.org
>> it's the other way around. If nulls are at the beginning then an indexKR> The same index COULD be used for "is not null" - use the index to find
>> can be used for "is null". And that's actually the state of affairs
>> (your case 2, I mean) I think.
KR> the first non-null record (skip all the nulls - should be easy using the
KR> idnex, or am I wrong?) and then return that record and all that follow
KR> until the end.
:-) this is exactly my enhancement proposal.
Ciao
--
Nando Dessena
http://www.flamerobin.org