Re: returning results from an update for joining other tables

Поиск
Список
Период
Сортировка
От Patrick Scharrenberg
Тема Re: returning results from an update for joining other tables
Дата
Msg-id 484E4A3C.60504@web.de
обсуждение исходный текст
Ответ на Re: returning results from an update for joining other tables  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Список pgsql-sql
Hi!
>> What I tried was something like this, which gave me a syntax error:
>>
>> SELECT * FROM
>> ( UPDATE ta
>>     SET process_node='nodename'
>>     WHERE a>10 AND process_node is null
>>     RETURNING *
>> ) AS ta
>> JOIN someothertable ON ...
>
> It's a know limitation, see <48468922.9030108@enterprisedb.com>

Oh, I see.

Are there ways to work around this limitation?

Patrick


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

Предыдущее
От: "A. Kretschmer"
Дата:
Сообщение: Re: returning results from an update for joining other tables
Следующее
От: "Shavonne Marietta Wijesinghe"
Дата:
Сообщение: Nextval & Currval