table alias on update and delete query

Поиск
Список
Период
Сортировка
От chester c young
Тема table alias on update and delete query
Дата
Msg-id 20020119185355.58065.qmail@web12705.mail.yahoo.com
обсуждение исходный текст
Ответы Re: table alias on update and delete query  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-sql
is there no table alias on update and dml query?  is there workaround?

egg=# update lw_pres p1 set pid=pid+1 
egg(# where exists( select 1 from lw_pres p2
egg(# where p1.pid = p2.pid and p1.oid < p2.oid );

ERROR:  parser: parse error at or near "p1"


__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: null = null
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: table alias on update and delete query