Received: from ece.rice.edu (ece.rice.edu [128.42.4.34]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f9THZdP19171 for ; Mon, 29 Oct 2001 12:35:39 -0500 (EST) (envelope-from reedstrm@rice.edu) Received: from localhost (localhost [127.0.0.1]) by ece.rice.edu (Postfix) with ESMTP id A171068A5F for ; Mon, 29 Oct 2001 11:35:38 -0600 (CST) Received: from wallace.ece.rice.edu (wallace.ece.rice.edu [128.42.12.154]) by ece.rice.edu (Postfix) with ESMTP id B754468A5A for ; Mon, 29 Oct 2001 11:35:37 -0600 (CST) Received: from reedstrm by wallace.ece.rice.edu with local (Exim 3.22 #1 (Debian)) id 15yGK1-0005pX-00 for ; Mon, 29 Oct 2001 11:35:37 -0600 Date: Mon, 29 Oct 2001 11:35:37 -0600 From: "Ross J. Reedstrom" To: pgsql-sql@postgresql.org Subject: Re: delete queires Message-ID: <20011029113537.C21886@rice.edu> Mail-Followup-To: "Ross J. Reedstrom" , pgsql-sql@postgresql.org References: <000801c15f2c$2ff6fcc0$5b0e7ad5@r355000075> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000801c15f2c$2ff6fcc0$5b0e7ad5@r355000075> User-Agent: Mutt/1.3.18i X-Virus-Scanned: by AMaViS snapshot-20010714 X-Archive-Number: 200110/394 X-Sequence-Number: 5346 On Sat, Oct 27, 2001 at 10:13:10PM +0100, stephen wrote: > i was wondering if it's possible to make a delete query to delete only one of the two fields in a table. I have tried only putting that field as the "from" but it still deletes the other field also? Steve, If I understand your question, you don't want a DELETE, you want an UPDATE, where you set one field to NULL (or other vaule you're using to indicate an absence of information). Examples of what you want to do are always best. Ross -- Ross Reedstrom, Ph.D. reedstrm@rice.edu Executive Director phone: 713-348-6166 Gulf Coast Consortium for Bioinformatics fax: 713-348-6182 Rice University MS-39 Houston, TX 77005