Re: How to copy data between joined columns?

Поиск
Список
Период
Сортировка
Искать
От
Bryce Nesbitt
Тема
Re: How to copy data between joined columns?
Дата
Msg-id
4436DB41.2070303@obviously.com
Ответ на
Список
Дерево обсуждения
How to copy data between joined columns? Bryce Nesbitt <bryce1@obviously.com>
Re: How to copy data between joined columns? Scott Marlowe <smarlowe@g2switchworks.com>
Re: How to copy data between joined columns? Bryce Nesbitt <bryce1@obviously.com>
Re: How to copy data between joined columns? Tom Lane <tgl@sss.pgh.pa.us>
Re: How to copy data between joined columns? Bryce Nesbitt <bryce1@obviously.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 www.obviously.com


В списке pgsql-sql по дате отправления
От: Scott Marlowe
Дата:
От: Tom Lane
Дата:
FAQ