Subject | Re: Two queries - 1 good performance + 1 poor performance? |
---|---|
Author | tomc7777777 |
Post date | 2011-07-27T15:51:26Z |
--- In firebird-support@yahoogroups.com, "Leyne, Sean" <Sean@...> wrote:
The name field is varchar(200) - perhaps this is part of the reason?
Tom
>Didn't make any real difference.
> What happens if you try:
>
> Select
> ca.id,cn.firstname,cn.lastname,cn.email1,cn.dateofbirth, ca.kind,ca.category,ca.status,cn.name
> from person cn
> JOIN extendedperson ca on ca.personid=cn.id
> where (upper(cn.name) starting with 'S')
> Do you have an index on cn.name?Yes Sean.
The name field is varchar(200) - perhaps this is part of the reason?
Tom