Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lMuPL-0007ZR-LN for pgsql-general@arkaria.postgresql.org; Thu, 18 Mar 2021 15:17:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lMuPJ-0000wM-HX for pgsql-general@arkaria.postgresql.org; Thu, 18 Mar 2021 15:17:53 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lMuPJ-0000uH-9W for pgsql-general@lists.postgresql.org; Thu, 18 Mar 2021 15:17:53 +0000 Received: from ikarus.unix-solution.de ([31.15.67.26]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lMuPC-0008W6-EB for pgsql-general@postgresql.org; Thu, 18 Mar 2021 15:17:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=unix-solution.de; s=mx; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=b/arTasKmu773XJcLD2R4KUAE/4+kTpYxc3/XX4l3ok=; b=EEqSSKDdANmn5Hn598OSmpNXTR JRXE88IzoedbU5Vi7/7K1UQCXtp5EMlV/GD5DwC1PMBxWqbnmoHaVKDbPl8sj7LIbVlDEhHP9WKRU 5EpFSrfwjaOPgHqxHDSzSjw8/GuQ9gaSQJQx6H6oatnY4CF6F7x7zkXC44H4cgU+zxzM=; Received: from dslb-002-203-227-054.002.203.pools.vodafone-ip.de ([2.203.227.54] helo=[192.168.0.148]) by ikarus.unix-solution.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lMuP8-0007MY-R9; Thu, 18 Mar 2021 16:17:42 +0100 Subject: Re: postgresql order lowercase before uppercase To: "Basques, Bob (CI-StPaul)" , "pgsql-general@postgresql.org" References: <5a174fad-c30d-6d65-38c8-a3d9af8377df@unix-solution.de> From: basti Message-ID: <645e31e2-29aa-68ac-2499-0c93bb380970@unix-solution.de> Date: Thu, 18 Mar 2021 16:17:42 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 7bit X-ACL-Warn: Max 0 failed recipients allowed List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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 >> 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 >> >