Re: delete queires

From: "Ross J(dot) Reedstrom" <reedstrm(at)rice(dot)edu>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: delete queires
Date: 2001-10-29 17:35:37
Message-ID: 20011029113537.C21886@rice.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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(at)rice(dot)edu
Executive Director phone: 713-348-6166
Gulf Coast Consortium for Bioinformatics fax: 713-348-6182
Rice University MS-39
Houston, TX 77005

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Stephan Szabo 2001-10-29 17:45:56 Re: delete queires
Previous Message Frank Wiles 2001-10-29 16:50:27 Re: delete queires