Re: [GENERAL] copying from one table to another

Поиск
Список
Период
Сортировка
От Charles Tassell
Тема Re: [GENERAL] copying from one table to another
Дата
Msg-id 4.1.19991006025938.00950750@mailer.isn.net
обсуждение исходный текст
Ответ на copying from one table to another  (Omega Weapon <weapon_77@yahoo.com>)
Список pgsql-general
Try something like:

INSERT INTO selection (fieldlist) SELECT fieldlist from temp_section;

SELECT INTO won't work, as it requires you to be creating the destination
table (well, you could drop temp_section first, but that could be annoying.)

At 11:51 PM 10/5/99, Omega Weapon wrote:
>I have two identical tables -- section and
>temp_section.  I use the section table for keeping
>original values and temp_section for editing.
>
>How do I copy the values from temp_section to section?
>
>=====
>Weapon
>__________________________________________________
>Do You Yahoo!?
>Bid and sell for free at http://auctions.yahoo.com
>
>************
>


В списке pgsql-general по дате отправления:

Предыдущее
От: Nikos Mouat
Дата:
Сообщение: You are really hosed.
Следующее
От: tolik@aaanet.ru (Anatoly K. Lasareff)
Дата:
Сообщение: Re: [GENERAL] copying from one table to another