Re: cannot use result of (insert .. returning)

Поиск
Список
Период
Сортировка
От Tino Wildenhain
Тема Re: cannot use result of (insert .. returning)
Дата
Msg-id 4840F5EB.4000301@wildenhain.de
обсуждение исходный текст
Ответ на cannot use result of (insert .. returning)  ("dvs" <dvs@fon.kamchatka.ru>)
Список pgsql-general
dvs wrote:
> Hello,
>
> I need to use query like:
>    ,c from anytable
> where condition
> but it say
>    ERROR: syntax error at or near "into"

did you try with:

select (insert into test (a) values (x) returning b) query_a JOIN c ON ... ?

Tino.

Вложения

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

Предыдущее
От: Marc Weber
Дата:
Сообщение: Re: Howto implement sxntax and semantic complie time chock for
Следующее
От: "dvs"
Дата:
Сообщение: Re: cannot use result of (insert .. returning)