Re: Import from Ms Excel - Mailing list pgsql-sql

From Achilleus Mantzios
Subject Re: Import from Ms Excel
Date
Msg-id Pine.LNX.4.44.0403161338240.1464-100000@matrix.gatewaynet.com
Whole thread Raw
In response to Re: Import from Ms Excel  (Andrew Sullivan <ajs@crankycanuck.ca>)
Responses Re: Import from Ms Excel
List pgsql-sql
O kyrios Andrew Sullivan egrapse stis Mar 16, 2004 :

> On Tue, Mar 16, 2004 at 03:13:38PM +0530, Kumar wrote:
> > Dear Friends,
> > 
> > Is possible to import data from MS Excel sheet into postgres
> > database 7.3.4 running on Linux 7.2
> 
> Yes.  I find the easiest way is to export a delimited file from Excel
> and use the \copy command in psql.

Another fancy lib (although not necessarilly pgsql specific),
is the POI project from jakarta.
You can read/write M$ XLS documents from java, and 
subsequently (via jdbc) manipulate pgsql tables.

The good part is that you can dynamically generate an excel file
with arbitary content.

> 
> A
> 
> 

-- 
-Achilleus



pgsql-sql by date:

Previous
From: Andrew Sullivan
Date:
Subject: Re: Import from Ms Excel
Next
From: Andrew Sullivan
Date:
Subject: Re: Import from Ms Excel