Re: delete queires

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: stephen <stephen(dot)hubbard(at)btinternet(dot)com>
Cc: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: delete queires
Date: 2001-10-29 17:45:56
Message-ID: 20011029094358.Y9662-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Sat, 27 Oct 2001, 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?

AFAIK delete works on entire rows. What is it you want it to do
preciselfy? If you want to set the other value to null, an update
is probably really what you want.

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Stephan Szabo 2001-10-29 17:51:19 Re: Deletion Recursively
Previous Message Ross J. Reedstrom 2001-10-29 17:35:37 Re: delete queires