From: Dana Hudes <dhudes@tcp-ip.info>
To: Kumar <sgnerd@yahoo.com.sg>
Cc: psql <pgsql-sql@postgresql.org>
Subject: Re: Import from Ms Excel
Date: Tue, 16 Mar 2004 07:13:53 -0500 (EST)
Message-ID: <Pine.LNX.4.58.0403160711110.11286@screamer.tcp-ip.info> (raw)
In-Reply-To: <01db01c40b3b$2c897b40$7502a8c0@hdsc.com>
References: <01db01c40b3b$2c897b40$7502a8c0@hdsc.com>
Certainly you can export your spreadsheet in CSV and
it will easily go into Postgresql database (after you
create the database and its tables).
If you want something more sophisticated, a program
in e.g. Perl could use one of the various library programs
to extract data in some other-than-straightforward
manner (perhaps only certain columns or a certain set of regions?)
and then use one of the database libraries (e.g. DBI) to insert
into database. The CSV export is the simplest approach.
On Tue, 16 Mar 2004, Kumar wrote:
> Dear Friends,
>
> Is possible to import data from MS Excel sheet into postgres database 7.3.4 running on Linux 7.2
>
> Thanks
> Kumar
>
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: dhudes@tcp-ip.info, sgnerd@yahoo.com.sg
Subject: Re: Import from Ms Excel
In-Reply-To: <Pine.LNX.4.58.0403160711110.11286@screamer.tcp-ip.info>
References: <01db01c40b3b$2c897b40$7502a8c0@hdsc.com> <Pine.LNX.4.58.0403160711110.11286@screamer.tcp-ip.info>
* 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