Re: What's the fastest way to do this?

From: Carl van Tast <vanTast(at)Pivot(dot)at>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: What's the fastest way to do this?
Date: 2001-11-13 10:15:52
Message-ID: 1js1vtc3bomp00lcttrpd4ht4rpasuqna5@4ax.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 12 Nov 2001 11:58:27 -0800, Orion <o2(at)trustcommerce(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martín Marqués 2001-11-13 11:31:20 Re: Outer Joins
Previous Message Robert Sundstrm 2001-11-13 10:09:37 Re: [GENERAL] ODBC and Native error codes