Aliasing all fields

Поиск
Список
Период
Сортировка
От Rob Hutton
Тема Aliasing all fields
Дата
Msg-id MJEGKBFNFCKLCNDBOKIMMEEBDFAA.rob.hutton@wsafe.com
обсуждение исходный текст
Список pgsql-general
Is there a way to get PostgreSQL to alias all fields in a select even if
there is no naming conflict?  For instance, if I do a:

select * from table1, table2 where table1.t1c1 = table2.t2c2

then I want

table1.t1c1 | table1.t1c2 | table1.t1c3 | table2.t2c1 | table2.t2c2

Not just the column names.

Thanks,
Rob Hutton
Web Safe
www.wsafe.com



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] PGXLOG variable worthwhile?
Следующее
От: Jean-Christian Imbeault
Дата:
Сообщение: IN vs EXIIST