From: Hanno Wiegard <hwiegard@web.de>
To: pgsql-sql@postgresql.org
Subject: Table alias in DELETE statements
Date: Fri, 13 Sep 2002 14:10:25 +0200
Message-ID: <200209131210.g8DCAPX06979@mailgate5.cinetic.de> (raw)
Hi,
I've already checked the mailing archive but found nothing about
problems with the DELETE statement and table alias but it's not
mentioned in the docs. So the question for me is whether it is possible
to use a table alias in a DELETE statement or not, e.g.
DELETE FROM foo f WHERE f.ID > 3000 (more complicated cases in reality
and I really need the alias because the SQL is generated automaically
by a tool)?
Thanks,
Hanno Wiegard
______________________________________________________________________________
Die clevere Geldreserve: der DiBa-Privatkredit. Funktioniert wie ein Dispo,
ist aber viel gunstiger! Alle Infos: http://diba.web.de/?mc=021104
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: hwiegard@web.de
Subject: Re: Table alias in DELETE statements
In-Reply-To: <200209131210.g8DCAPX06979@mailgate5.cinetic.de>
* 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