Variable column name

Поиск
Список
Период
Сортировка
От Bob Pawley
Тема Variable column name
Дата
Msg-id A35B74CF2573453D89E0AB36E4A56721@BobPC
обсуждение исходный текст
Ответы Re: Variable column name
Список pgsql-general
Hi
 
I want to add information to multiple columns (20 – 40) by employing a loop. Each pass of the loop will populate one column with an array.
 
I have tried and I have read that variables can not be used to control column names.
 
Is there a means of working around this restriction other than creating 20 to 40 hard coded statements??
 
Bob
 
 

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Memory leak somewhere at PQconnectdb?
Следующее
От: Bill Moran
Дата:
Сообщение: Re: Variable column name