Re: select into...

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: select into...
Дата
Msg-id 49BE96B3.EE98.0025.0@wicourts.gov
обсуждение исходный текст
Ответ на select into...  ("Tena Sakai" <tsakai@gallo.ucsf.edu>)
Список pgsql-admin
>>> "Tena Sakai" <tsakai@gallo.ucsf.edu> wrote:
> What I want is to append my_table.  Is there any way
> to get postgres to do what I want done?

PostgreSQL supports the SQL standard syntax for this:

insert into my_table
  select *
    from old_table
    where (some_condition);

-Kevin

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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: select into...
Следующее
От: "Tena Sakai"
Дата:
Сообщение: Re: select into...