Re: What's the fastest way to do this? - Mailing list pgsql-general

From Carl van Tast
Subject Re: What's the fastest way to do this?
Date
Msg-id 1js1vtc3bomp00lcttrpd4ht4rpasuqna5@4ax.com
Whole thread Raw
In response to Re: What's the fastest way to do this?  (Einar Karttunen <ekarttun@cs.Helsinki.FI>)
List pgsql-general
On Mon, 12 Nov 2001 11:58:27 -0800, Orion <o2@trustcommerce.com>
wrote:
>[...]
>UPDATE test
>        SET description = x.description
>        FROM test AS rt, test_tmp AS x
>        WHERE rt.code = x.code;
This seems to work:
UPDATE test SET description = x.description
        FROM test_tmp x
        WHERE test.code = x.code;

Kind regards
 Carl van Tast

pgsql-general by date:

Previous
From: Jean-Michel POURE
Date:
Subject: Re: [general] Permissions
Next
From: Martín Marqués
Date:
Subject: Re: Outer Joins