Subject | Re: FB 2.1 Issue with select distinct |
---|---|
Author | Estie |
Post date | 2008-07-22T12:31:06Z |
--- In firebird-support@yahoogroups.com, "Alan McDonald" <alan@...>
wrote:
collation. The values are entered manually by the applicant or
interviewer.
How does the distinct verb decide whether a value is distinct in a
list or not?
Regards, Pieter
wrote:
>Windows
> > Hi. We have a table with applicants and use the 'select distinct
> > (surname) from applicant' to populate a drop-down.
> >
> > The resulting list includes applicant with a surname "Wilson " but
> > not "Wilson".
> >
> > Any ideas about why this could be? We are using Firebird 2.1 on
> > 2003 Server.case and
> > Regards, Pieter
>
> Is the (surname) field a varchar? or char? It might be char in your
> maybe it should be varchar.via an
> How are the values inserted or updated? via your own interface or
> external datapump of some kind?The (surname) field is varchar(20) using win1252 characterset and
> Alan
>
collation. The values are entered manually by the applicant or
interviewer.
How does the distinct verb decide whether a value is distinct in a
list or not?
Regards, Pieter