From: Bruno Wolff III <bruno@wolff.to>
To: luca.scaramella@recom.it
Cc: pgsql-sql@postgresql.org
Subject: Re: DELETE FROM A BLACK LIST
Date: Wed, 12 Mar 2003 15:03:26 -0600
Message-ID: <20030312210326.GA9194@wolff.to> (raw)
In-Reply-To: <OFC425EC90.A6DA753C-ONC1256CE0.003861F2@recom.it>
References: <OFC425EC90.A6DA753C-ONC1256CE0.003861F2@recom.it>
On Wed, Mar 05, 2003 at 11:27:54 +0100,
luca.scaramella@recom.it wrote:
> Hi all,
> I have a Blacklist table containing about 1000 ID to delete from another
> table (T1 about 1440294 records)
> If i use the SQL
>
> DELETE FROM T1 WHERE T1.ID IN (SELECT BLACKLIST.ID FROM BLACKLIST)
Use:
delete from t1 where t1.id = blacklist.id;
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: bruno@wolff.to, luca.scaramella@recom.it
Subject: Re: DELETE FROM A BLACK LIST
In-Reply-To: <20030312210326.GA9194@wolff.to>
* 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