From: basti <mailinglist@unix-solution.de>
To: Basques, Bob (CI-StPaul) <bob.basques@ci.stpaul.mn.us>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: postgresql order lowercase before uppercase
Date: Thu, 18 Mar 2021 16:17:42 +0100
Message-ID: <645e31e2-29aa-68ac-2499-0c93bb380970@unix-solution.de> (raw)
In-Reply-To: <SA1PR09MB8688256D52FFB73578A763D0F7699@SA1PR09MB8688.namprd09.prod.outlook.com>
References: <5a174fad-c30d-6d65-38c8-a3d9af8377df@unix-solution.de>
<SA1PR09MB8688256D52FFB73578A763D0F7699@SA1PR09MB8688.namprd09.prod.outlook.com>
This does not help in that case.
On 18.03.21 15:45, Basques, Bob (CI-StPaul) wrote:
> Maybe check out using the UPPER/LOWER/INITCAP functions in the order by clause?
>
> Bobb
>
>
>
>> -----Original Message-----
>> From: basti <mailinglist@unix-solution.de>
>> Sent: Thursday, March 18, 2021 9:40 AM
>> To: pgsql-general@postgresql.org
>> Subject: postgresql order lowercase before uppercase
>>
>> Think Before You Click: This email originated outside our organization.
>>
>>
>> Hello,
>> I need to as follow:
>>
>> ande
>> Amma
>> Anit
>> Anti
>> Brac
>> Cali
>> ....
>>
>> I have try ORDER by name COLLATE 'C';
>>
>> but this order as follow:
>>
>> Amma
>> Anit
>> Anti
>> Brac
>> Cali
>> ....
>> ande
>>
>> Best Regards
>>
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: mailinglist@unix-solution.de, bob.basques@ci.stpaul.mn.us
Subject: Re: postgresql order lowercase before uppercase
In-Reply-To: <645e31e2-29aa-68ac-2499-0c93bb380970@unix-solution.de>
References: <5a174fad-c30d-6d65-38c8-a3d9af8377df@unix-solution.de> <SA1PR09MB8688256D52FFB73578A763D0F7699@SA1PR09MB8688.namprd09.prod.outlook.com> <645e31e2-29aa-68ac-2499-0c93bb380970@unix-solution.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox