Re: Subselect query for a multi table insert single query

Поиск
Список
Период
Сортировка
От Norman Khine
Тема Re: Subselect query for a multi table insert single query
Дата
Msg-id 007001c262c9$b3db2fb0$0100a8c0@alpha
обсуждение исходный текст
Ответ на Re: Subselect query for a multi table insert single query  ("Norman Khine" <norman@khine.net>)
Список pgsql-novice
Many thanks

----- Original Message -----
From: "Tom Lane" <tgl@sss.pgh.pa.us>
To: "Norman Khine" <norman@khine.net>
Cc: "Pgsql-Novice" <pgsql-novice@postgresql.org>
Sent: Monday, September 23, 2002 5:18 AM
Subject: Re: [NOVICE] Subselect query for a multi table insert single query


> "Norman Khine" <norman@khine.net> writes:
> >  What should be the correct syntax for embedding this.
>
> This would work fine:
>
> INSERT INTO table VALUES (foo, bar, baz, currval('seq'), ...);
>
> The elements of an INSERT/VALUES list are expressions, not
> necessarily literal constants.
>
> regards, tom lane
>


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Subselect query for a multi table insert single query
Следующее
От: norman@khine.net
Дата:
Сообщение: Re: Subselect query for a multi table insert single query