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.