From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: stephen <stephen.hubbard@btinternet.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: delete queires
Date: Mon, 29 Oct 2001 09:45:56 -0800 (PST)
Message-ID: <20011029094358.Y9662-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <000801c15f2c$2ff6fcc0$5b0e7ad5@r355000075>
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: sszabo@megazone23.bigpanda.com, stephen.hubbard@btinternet.com
Subject: Re: delete queires
In-Reply-To: <20011029094358.Y9662-100000@megazone23.bigpanda.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox