Re: Is this doable using Postgresql crosstab or some other function?

Поиск
Список
Период
Сортировка
От David Johnston
Тема Re: Is this doable using Postgresql crosstab or some other function?
Дата
Msg-id 9792E814-C3EB-44D4-A3CB-3E5DE5368B52@yahoo.com
обсуждение исходный текст
Ответ на Is this doable using Postgresql crosstab or some otherfunction?  (<mika@digikartta.net>)
Ответы Re: Is this doable using Postgresql crosstab or some other function?
Список pgsql-general
On Apr 10, 2012, at 1:52, <mika@digikartta.net> wrote:

>
> Quite challanging, right?
>

Aside from the possibly extremely rare case where this is actually functional the only challenging task is to tell off
whomevergave you the idea/requirement that your schema is desirable - even if that person is yourself. 

That aside, judicious use of CASE constructs, and probably UNION, will get you your answers.  Keep in mind that you
likelyneed to end up casting all of your values to varchar/text in the end. 

You may also want to look at the HSTORE extension.

Given the generic nature of your inquiry actual specific advice is impossible to give.

David J.

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

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: Is this doable using Postgresql crosstab or some other function?
Следующее
От:
Дата:
Сообщение: Re: Is this doable using Postgresql crosstab or some otherfunction?