Table alias in DELETE statements

From: Hanno Wiegard <hwiegard(at)web(dot)de>
To: pgsql-sql(at)postgresql(dot)org
Subject: Table alias in DELETE statements
Date: 2002-09-13 12:10:25
Message-ID: 200209131210.g8DCAPX06979@mailgate5.cinetic.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Manfred Koizar 2002-09-13 12:16:02 Re: sql group by statement
Previous Message Michael Paesold 2002-09-13 10:43:10 Assignments in PL/pgSQL