From: Bruno Wolff III <bruno@wolff.to>
To: Marko Rihtar <riki_fox@hotmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: SQL - update table problem...
Date: Wed, 15 Nov 2006 00:50:48 -0600
Message-ID: <20061115065048.GB28693@wolff.to> (raw)
In-Reply-To: <BAY121-F6336FF9FF7A48C97A21A3F8F40@phx.gbl>
References: <BAY121-F6336FF9FF7A48C97A21A3F8F40@phx.gbl>
On Mon, Nov 13, 2006 at 11:36:05 +0100,
Marko Rihtar <riki_fox@hotmail.com> wrote:
>
> i'm trying to do update on multiple tables but don't know how.
> is something like this posible with postgresql?
I believe you need to use multiple update statements to do this. Each
update can only update one table. You can join with other tables to
select which rows to update, but that doesn't let you update more than
one table at once.
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, riki_fox@hotmail.com
Subject: Re: SQL - update table problem...
In-Reply-To: <20061115065048.GB28693@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