Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id B06499FB83F for ; Mon, 19 Feb 2007 11:30:29 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 43013-03 for ; Mon, 19 Feb 2007 11:30:20 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from main2.mycybernet.net (main2.mycybernet.net [209.222.63.140]) by postgresql.org (Postfix) with ESMTP id 82E4D9FB81C for ; Mon, 19 Feb 2007 11:30:26 -0400 (AST) Received: from 227-54-222-209.mycybernet.net ([209.222.54.227] helo=phlogiston.dydns.org) by main2.mycybernet.net with esmtp (Exim 4.62) (envelope-from ) id 1HJAgV-0008CI-1e for pgsql-sql@postgresql.org; Mon, 19 Feb 2007 10:44:11 -0500 Received: by phlogiston.dydns.org (Postfix, from userid 1000) id 967EA4050; Mon, 19 Feb 2007 10:30:19 -0500 (EST) Date: Mon, 19 Feb 2007 10:30:19 -0500 From: Andrew Sullivan To: pgsql-sql@postgresql.org Subject: Re: Uppercase and Lowercase Message-ID: <20070219153019.GB8840@phlogiston.dyndns.org> References: <001001c75439$b7749b50$1102a8c0@dream> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001001c75439$b7749b50$1102a8c0@dream> User-Agent: Mutt/1.5.9i X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.222 tagged_above=0 required=5 tests=AWL, BAYES_50, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200702/195 X-Sequence-Number: 27529 On Mon, Feb 19, 2007 at 04:22:06PM +0100, Shavonne Marietta Wijesinghe wrote: > Hello > > In my PostgreSQL database i have records inserted in Uppercase. > For example: VIA SENATO > > What i want is to change them to "Via Senato". Have a look at the initcap() function. A -- Andrew Sullivan | ajs@crankycanuck.ca If they don't do anything, we don't need their acronym. --Josh Hamilton, on the US FEMA