Re: insert aliases?

Поиск
Список
Период
Сортировка
От Csaba Nagy
Тема Re: insert aliases?
Дата
Msg-id 1048002464.1058.7.camel@coppola.ecircle.de
обсуждение исходный текст
Ответ на Re: insert aliases?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
> "Wayne Armstrong" <wdarmst@bacchus.com.au> writes:
> > It seems that postgress doesn't accept aliases for the tablename in updates,
> > inserts, and deletes as it does do for selects ????
>
> Nope, and neither does the SQL standard ...
>
But it would be VERY useful for the UPDATE command... Postgres has that
nice extension of multi-table where clause for updates, but it can be
confusing when you want to specify the updated table for a self-join.
Being able to alias the updated table too would make things cleaner.

Cheers,
Csaba.



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

Предыдущее
От: u15074
Дата:
Сообщение: Causes an insert into a table with a unique column a tablelock or a rowlock?
Следующее
От: Dennis Gearon
Дата:
Сообщение: Re: MS SQL 2K replication/backup