all columns but one

Поиск
Список
Период
Сортировка
От Vladimir V. Zolotych
Тема all columns but one
Дата
Msg-id 3A4F0712.EA1D88B8@eurocom.od.ua
обсуждение исходный текст
Список pgsql-admin
  Hello all,
Happy New Year!

Does anybody know is it possible to tell
"all columns but one" in sentences like the following:

insert into bar (b,c,d,e,f,g,h) select (b, c,d,e,f,g,h) from foo;

where foo, bar contains the same set of columns just as mentioned
above plus column a, e.g. the full set of columns is: a,b,c,d,e,f,g,h

Thanks!

--
Vladimir Zolotych                         gsmith@eurocom.od.ua

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Error opening pgaccess
Следующее
От: Lockhurst
Дата:
Сообщение: Re: Redundant databases/real-time backup-Revisited