pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christof Glaser <gcg@gl.aser.de>
To: Mahesh Guleria <mahesh@himline.com>
To: pgsql-admin@postgresql.org
Subject: Re: Data Conversion
Date: Mon, 25 Jun 2001 15:54:03 +0200
Message-ID: <01062515540301.00728@pinguin> (raw)
In-Reply-To: <NEBBKAGAHJHBKBDHNAIOGEDGCDAA.mahesh@himline.com>
References: <NEBBKAGAHJHBKBDHNAIOGEDGCDAA.mahesh@himline.com>

On Monday, 25. June 2001 08:20, Mahesh Guleria wrote:
> Can be convert data from postgres to foxpro2.5??
> Is it possible?? Please help me.

I did it once, a year ago:

 - import the data into MS Access
 - export the data from Access as text delimited (and choose a
   delimiter that doesn't occur in your data)
 - run a perl or sed script to change anything that needs to be changed
   (like date values or field order)
 - create the table schema in PostgreSQL
 - import the text files using psql and the COPY FROM command

There might be an easier way by accessing Postgres directly from Access 
through ODBC. It might be slower, though :->

Hope that helps a bit.

Christof
-- 
          gl.aser . software engineering . internet service
       http://gl.aser.de/  . Planckstraße 7 . D-39104 Magdeburg
Tel. +49.391.7 44 77 10 . Fax +49.391.7 44 77 13 . Mobil 0177.77 92 84 3



view thread (3+ messages)  latest in thread

Message-ID: <01062515540301.00728@pinguin>
Permalink:  ../01062515540301.00728@pinguin/
Also on:    postgresql.org/message-id/01062515540301.00728@pinguin

 · 

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 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-admin@postgresql.org
  Cc: gcg@gl.aser.de, mahesh@himline.com
  Subject: Re: Data Conversion
  In-Reply-To: <01062515540301.00728@pinguin>
  References: <NEBBKAGAHJHBKBDHNAIOGEDGCDAA.mahesh@himline.com> <01062515540301.00728@pinguin>

* 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