Re: Bug or syntax error in my update query with a FROM statement ?

Поиск
Список
Период
Сортировка
От ARP
Тема Re: Bug or syntax error in my update query with a FROM statement ?
Дата
Msg-id 03b501c1eba4$48461180$0100a8c0@arp.homelinux.org
обсуждение исходный текст
Ответ на Bug or syntax error in my update query with a FROM statement ?  ("ARP" <arnaud.mlist1@free.fr>)
Список pgsql-general
Thanks a lot, that's very clear for me now !
Arnaud

>It's useful to think of the behavior of UPDATE as exactly like a
>SELECT, except that rather than reporting the selected rows to you,
>it changes them per the SET target list.  Had you written
>
>select utilisateur.* from utilisateur, utilisateur a, ancien b
>where a.util_id=b.util_id and b.anc_deces is not null and
>      (a.login<>'*' or a.password<>'*');
>
>the error would be moderately obvious, no?



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

Предыдущее
От: Benjamin Franks
Дата:
Сообщение: group by with multiple selects having different where conditions
Следующее
От: tony
Дата:
Сообщение: Re: how does NOT work?