Subject | Re: Can someone explain to me what's the best way to do this? |
---|---|
Author | GrumpyRain |
Post date | 2004-12-01T00:46:35Z |
--- In firebird-support@yahoogroups.com, "Ann W. Harrison"
<aharrison@i...> wrote:
select name
from employee
where name like '%i%',
Now the comment makes sense.
Adam
<aharrison@i...> wrote:
> At 07:11 PM 11/30/2004, GrumpyRain wrote:LOL, my brain must be at home today.
>
> >But how could that index help if your query went something like
> >
> >select name
> >from employee
> >where name like '%i'
> >
> >By inspecting 1 by 1, we know it is only Adrian and Martin, but the
> >index can't help on this.
>
> Actually, that wouldn't find any matches, though it would
> match Bobbi or Terri.
>
> Cheers,
>
> Ann
select name
from employee
where name like '%i%',
Now the comment makes sense.
Adam