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 14:08:24 +0200 (EET)
Message-ID: <Pine.LNX.4.44.0403161401370.1464-100000@matrix.gatewaynet.com> (raw)
In-Reply-To: <20040316114716.GA4503@phlogiston.dyndns.org>

O kyrios Andrew Sullivan egrapse stis Mar 16, 2004 :

> On Tue, Mar 16, 2004 at 01:42:45PM +0200, Achilleus Mantzios wrote:
> > 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.
> 
> You can do the same thing (I have done it) with Perl using the Pg and
> WriteExcel modules.  Excel has a lot of pretty annoying limitations,
> though, and it's fairly dangerous to get too dependent on it for this
> sort of thing, as you can easily run into its limitations.

Especially the way "excel" tries to store date/time "cells" (in a way 
much like cobol in MVS mainframes),
or text not being able to contain only numeric chars, etc...

>  I suppose
> it depends on how big your resulting spreadsheets are going to be. 
> In my experience, though, the first thing that happens when you
> deliver someone a summary spreadsheet is, they ask you for the raw
> data so they can double-check it.

At least they dont have to worry about their latest antivirus update!

> 
> A
> 
> 

-- 
-Achilleus




view thread (8+ messages)  latest in thread

Message-ID: <Pine.LNX.4.44.0403161401370.1464-100000@matrix.gatewaynet.com>
Permalink:  ../Pine.LNX.4.44.0403161401370.1464-100000@matrix.gatewaynet.com/
Also on:    postgresql.org/message-id/Pine.LNX.4.44.0403161401370.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.0403161401370.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