Re: From CROSSTAB: One Column data with Two results columns

Поиск
Список
Период
Сортировка
От Andreas Wagner
Тема Re: From CROSSTAB: One Column data with Two results columns
Дата
Msg-id eabe02b475c34361babc34d986aef1f76bbfa7ba.camel@web.de
обсуждение исходный текст
Ответ на From CROSSTAB: One Column data with Two results columns  (M Sarwar <sarwarmd02@outlook.com>)
Ответы Re: From CROSSTAB: One Column data with Two results columns
Список pgsql-admin
Hello!

Am Sonntag, dem 14.04.2024 um 20:54 +0000 schrieb M Sarwar:
> Hi,
> I am working CROSSTAB functionality to generate the reports in the
> CSV format.
>  
> Now I have stage where I need to generate 2 result sets  for the same
> 1 column data.

Something like "CREATE VIEW"? The documentation has some useful
examples: https://www.postgresql.org/docs/current/sql-createview.html

"CREATE PROCEDURE" and "CREATE FUNCTION" are rarely covered by
tutorials, so I mention them. They can be used in a similar manner.


For CSV, I'm the wrong person. I'd code it in C/C++.

Regards,
Andreas Wagner



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

Предыдущее
От: Sandeep Sivashankaran
Дата:
Сообщение: [MASSMAIL]Postgresql integration with Microsoft AD
Следующее
От: Oracle People
Дата:
Сообщение: ERROR could not read block xxx in file, read only 0 of 8192 bytes