Re: import content of XLS file into PostgreSQL

From: "Ivan Zolotukhin" <ivan(dot)zolotukhin(at)gmail(dot)com>
To: "Roberto Mello" <roberto(dot)mello(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: import content of XLS file into PostgreSQL
Date: 2007-08-08 16:49:39
Message-ID: 751e56400708080949x580761bncfb2dd54332083@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

On 8/8/07, Roberto Mello <roberto(dot)mello(at)gmail(dot)com> wrote:
> On 8/8/07, Ivan Zolotukhin <ivan(dot)zolotukhin(at)gmail(dot)com> wrote:
> > Hello,
> >
> > One more way to do it with mouse clicking only is OpenOffice. Get OO
> > and install PostgreSQL driver into OpenOffice Database application,
> > then you'll be able to import/export spreadsheets to and from database
> > tables and work with DB tables just like they are spreadsheets.
>
> That should be the easiest way if you're not programming-inclined. I
> don't know if others have suggested it, but you could export the XLS
> to csv (comma-separated values) and use a csv-parsing module in a
> programming language (Python has one) to grab only the values you want
> and import into PostgreSQL.

Sure. But if you use XLS one can suspect that you're not
programming-inclined :) But seriously, OO Database is a nice thing
because you'd better move all this documents that many people prepare
in spreadsheets right inside PostgreSQL. Your xls users won't even
notice the change while their data will be being stored in the DB
directly without any files.

Regards,
Ivan

In response to

Browse pgsql-general by date

  From Date Subject
Next Message luca.ciciriello 2007-08-08 17:55:45 Re: PostgreSQL and cluster
Previous Message Scott Marlowe 2007-08-08 16:37:11 Re: Reordering columns, will this ever be simple?