Re: Table to Excel - Mailing list pgsql-sql

From Greenhorn
Subject Re: Table to Excel
Date
Msg-id ddcb1c340903270927if72fcf9je211e30156378db6@mail.gmail.com
Whole thread Raw
In response to Table to Excel  (Nicholas I <nicholas.domnic.i@gmail.com>)
List pgsql-sql
2009/3/26 Nicholas I <nicholas.domnic.i@gmail.com>:
> Hi ,
>
>  Does any one how to convert table to excel.
>
>  I just tried the COPY table_name to '/home/user/output.xls' using
> delimiters ',';
>
> but the out put of the table that is the column in a table are tab separted,
> all were merged in a single cell.
>
> -Nicholas I
>

I find it easier to use the ODBC Driver (available at
http://pgfoundry.org/projects/psqlodbc/) and query the database from
Excel.  This way you get updateable results (right click refresh data)
with the option of modifying your query from within Excel.

--
THINK BEFORE YOU PRINT - Save paper if you don't really need to print this.


pgsql-sql by date:

Previous
From: Dominik Piekarski
Date:
Subject: Add: Special sort querstion
Next
From: Jasen Betts
Date:
Subject: Re: Table to Excel