Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id A56B79FB958 for ; Mon, 25 Jun 2007 14:44:34 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 74413-03 for ; Mon, 25 Jun 2007 14:44:31 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id B2C309FB1CD for ; Mon, 25 Jun 2007 14:44:31 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 Received: from randymail-a11.g.dreamhost.com (sd-green-bigip-207.dreamhost.com [208.97.132.207]) by svr4.postgresql.org (Postfix) with ESMTP id E85C65AF025 for ; Mon, 25 Jun 2007 17:44:30 +0000 (GMT) Received: from [10.37.75.125] (unknown [204.252.154.241]) by randymail-a11.g.dreamhost.com (Postfix) with ESMTP id 98F0F109EAD; Mon, 25 Jun 2007 10:43:09 -0700 (PDT) Message-ID: <467FFEF9.5050603@joshuaneil.com> Date: Mon, 25 Jun 2007 12:44:25 -0500 From: Joshua User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: pgsql-sql@postgresql.org, pgsql-novice@postgresql.org, pgsql-general@postgresql.org Subject: yet another simple SQL question Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.265 tagged_above=0 required=5 tests=AWL=0.264, BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 200706/1453 X-Sequence-Number: 116276 Ok, You guys must be getting sick of these newbie questions, but I can't resist since I am learning a lot from these email lists and getting results quick! Thanks to everyone for their contributions. Here is my questions.... I have a column that looks like this firstname ----------------- John B Mark A Jennifer D Basically I have the first name followed by a middle initial. Is there a quick command I can run to strip the middle initial? Basically, I just need to delete the middle initial so the column would then look like the following: firstname --------------- John Mark Jennifer Thanks again for all of your help today. Everything you guys have been sending has produced successful results. Thanks.