Subject | RE: [firebird-support] Re: Why does the optimizer choose NATURAL for this tiny table? |
---|---|
Author | Leyne, Sean |
Post date | 2014-11-12T18:48:29Z |
> Does the plan change to INDEX if the condition would be:I think you meant
> 1) ON p.icd10 = t.icd10
> 2) ON p.icd10 = t.icd10 OR p.icd10 = t.icd10
ON p.icd10 = t.icd10 OR p.icd10 = substring(t.icd10 from 1 for 3)
Sean