Re: How to import data

From: Devrim GUNDUZ <devrim(at)commandprompt(dot)com>
To: "VivekanandaSwamy R(dot)" <VivekanandaSwamyr(at)infics(dot)com>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: How to import data
Date: 2006-06-28 07:03:32
Message-ID: 1151478212.2323.6.camel@laptop.gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi,

On Wed, 2006-06-21 at 16:46 +0530, VivekanandaSwamy R. wrote:
> i have data in MS Excel.Now i need to export data from excel to pgsql
> table.Is there any posiblity to this...

Surely there is. Use PostgreSQL ODBC driver for this. Install the
driver, use it as a data source for Excel and make Excel connect to your
database via ODBC.

Another solution is to create table(s) in the database first, then save
your Excel file in csv format, then export this to your database using
COPY (or using pgadmin ;) ).

<propaganda> BTW, I don't have MS Excel around, and I'm not sure that it
can save the data in CSV format -- if not, it is another good reason to
switch to OpenOffice.org .</propaganda>

Regards,
--
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2006-06-28 07:07:44 Re: Postgis Manual
Previous Message Jim C. Nasby 2006-06-28 04:42:32 Re: Postgis Manual