Re: [SQL] exporting query result - Mailing list pgsql-sql

From Günce Kaya
Subject Re: [SQL] exporting query result
Date
Msg-id CAAV2-mV_JLu5rqchgbZUALqHj3YfWGDcU8VpkTcES_YuwinhRQ@mail.gmail.com
Whole thread Raw
In response to Re: [SQL] exporting query result  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: [SQL] exporting query result  (Adrian Klaver <adrian.klaver@aklaver.com>)
Re: [SQL] exporting query result  (Thomas Kellerer <spam_eater@gmx.net>)
List pgsql-sql
Hello,

Thank you for your advice. But I did not want to ask about using Copy. I always use it but my requirement  is if there is anyway to export query result to CSV's different sheets. 

Regards,
Gunce Kaya


On Fri, 12 May 2017 at 16:12, Adrian Klaver <adrian.klaver@aklaver.com> wrote:
On 05/12/2017 02:14 AM, Günce Kaya wrote:
> Good morning all,
>
> I use COPY to exporting query result but I'm curious If there is any way
> to export query result to a CSV file's different spreadsheets through
> Pgadmin or server?

You can export to CSV using COPY. For pgAdmin see:

https://www.pgadmin.org/docs/pgadmin4/1.x/import_export_data.html?highlight=csv

If this is not what you want then you will need to be more specific
about what you are trying to achieve.

>
> Regards
>
> --
> Gunce Kaya
>


--
Adrian Klaver
adrian.klaver@aklaver.com
--
Gunce Kaya

pgsql-sql by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: [SQL] exporting query result
Next
From: Adrian Klaver
Date:
Subject: Re: [SQL] exporting query result