Re: Ordering not acting right.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> > I have a text field which I use to store names (
> lastname, firstname )
> 
> > and suppose we have the following 3 authors in the
> field:
> >    ta, a
> >    ta, z
> >    tab, a
> > 
> > I would expect them to show up in the order shown
> above when I select 
> > this field and order it by it, but instead I get:
> > 
> >    ta, a
> >    tab, a
> >    ta, z
> > 
> > Some one has suggested that this may have to do with
> my locale 
> > setting.
> > I'm not an administrator so I'm not sure what
> how to check for the 
> > locale setting or what to change it to.  Does any one
> have any 
> > suggestions?
> > 
> > I'm using postgres 8.1.11.
> 
> can you show the query sintax?

ok the result of the query is correct the string 'ta' is minor that 'tab'
then 'ta, a' and 'ta, b' is minor to 'tab, a'. If you split the names you can order this


      



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux