pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Achilleus Mantzios <achill@matrix.gatewaynet.com>
To: Andrew Sullivan <ajs@crankycanuck.ca>
Cc: psql <pgsql-sql@postgresql.org>
Subject: Re: Import from Ms Excel
Date: Tue, 16 Mar 2004 13:42:45 +0200 (EET)
Message-ID: <Pine.LNX.4.44.0403161338240.1464-100000@matrix.gatewaynet.com> (raw)
In-Reply-To: <20040316112930.GA4436@phlogiston.dyndns.org>

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




view thread (8+ messages)  latest in thread

Message-ID: <Pine.LNX.4.44.0403161338240.1464-100000@matrix.gatewaynet.com>
Permalink:  ../Pine.LNX.4.44.0403161338240.1464-100000@matrix.gatewaynet.com/
Also on:    postgresql.org/message-id/Pine.LNX.4.44.0403161338240.1464-100000@matrix.gatewaynet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: achill@matrix.gatewaynet.com, ajs@crankycanuck.ca
  Subject: Re: Import from Ms Excel
  In-Reply-To: <Pine.LNX.4.44.0403161338240.1464-100000@matrix.gatewaynet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox