Re: Insert on create table

Поиск
Список
Период
Сортировка
От Nabil Sayegh
Тема Re: Insert on create table
Дата
Msg-id 1053118695.2759.1.camel@billy
обсуждение исходный текст
Ответ на Re: Insert on create table  (Jeff Eckermann <jeff_eckermann@yahoo.com>)
Список pgsql-novice
Am Fre, 2003-05-16 um 22.12 schrieb Jeff Eckermann:
> --- Yovko Ilchev Yovkov <yyovkov@vipsolutions.net>
> wrote:
> > Can anyone tell what I am in need of to do smthng
> > like:
> > When: CREATE TABLE table_1 (...);
> > Automaticaly to execute: INSERT INTO TABLE newtables
> > (name) VALUE (table_1);

What about:

CREATE TABLE table_1 as SELECT name FROM foo;

--
 e-Trolley Sayegh & John, Nabil Sayegh
 Tel.: 0700 etrolley /// 0700 38765539
 Fax.: +49 69 8299381-8
 PGP : www.e-trolley.de
--
 e-Trolley Sayegh & John, Nabil Sayegh
 Tel.: 0700 etrolley /// 0700 38765539
 Fax.: +49 69 8299381-8
 PGP : www.e-trolley.de


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

Предыдущее
От: Jeff Eckermann
Дата:
Сообщение: Re: Insert on create table
Следующее
От: Tom Lane
Дата:
Сообщение: Re: \copy command