Comment 1989 added to page sql-update.html of version 7.4

From: nobody <nobody(at)developer(dot)pgadmin(dot)org>
To: pgsql-www(at)postgresql(dot)org
Subject: Comment 1989 added to page sql-update.html of version 7.4
Date: 2005-01-14 01:35:27
Message-ID: 200501140135.j0E1ZRJu000536@developer.pgadmin.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

Author: westside <ethan(at)audio-crusade(dot)com>
----
Just make Dominik's clearer if field2 is in table2

update table1 set field1 = table2.field2 from table2 where table1.id = table2.id;

This is needed especially if field1 and field2 have the same name.
----
Manual page: http://wwwmaster.postgresql.org/docs/7.4/interactive/sql-update.html
Reject: http://wwwmaster.postgresql.org/admin/comments.php?action=reject&id=1989
Edit: http://wwwmaster.postgresql.org/admin/comment-edit.php?id=1989
Delete: http://wwwmaster.postgresql.org/admin/comments.php?action=delete&id=1989

Browse pgsql-www by date

  From Date Subject
Next Message Robert Treat 2005-01-14 03:58:35 Re: font size
Previous Message Josh Berkus 2005-01-13 17:17:44 Re: FTP/Mirror selection