From: Bryce Nesbitt <bryce1@obviously.com>
To: pgsql-sql@postgresql.org
Subject: Re: How to copy data between joined columns?
Date: Fri, 07 Apr 2006 14:36:01 -0700
Message-ID: <4436DB41.2070303@obviously.com> (raw)
In-Reply-To: <1144442088.32269.31.camel@state.g2switchworks.com>
References: <4436CC56.3040707@obviously.com>
<1144442088.32269.31.camel@state.g2switchworks.com>
Scott Marlowe wrote:
> If it's for the same rows in the same table, you're overworking it.
>
> update table set field1=field2 where somecondition;
>
If it were for the same rows in the same table, I would not have asked.
This is for columns from two tables, whos relationship is only
meaningful after a join.
-Bryce
--
----
Visit <a href="http://www.obviously.com/recycle/">www.obviously.com</a;
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: bryce1@obviously.com
Subject: Re: How to copy data between joined columns?
In-Reply-To: <4436DB41.2070303@obviously.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