pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Data Conversion
3+ messages / 3 participants
[nested] [flat]

* Data Conversion
@ 2001-06-25 06:20  Mahesh Guleria <mahesh@himline.com>
  0 siblings, 2 replies; 3+ messages in thread

From: Mahesh Guleria @ 2001-06-25 06:20 UTC (permalink / raw)
  To: pgsql-admin

Can be convert data from postgres to foxpro2.5??
Is it possible?? Please help me.

-MG



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Data Conversion
@ 2001-06-25 13:54  Christof Glaser <gcg@gl.aser.de>
  parent: Mahesh Guleria <mahesh@himline.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Christof Glaser @ 2001-06-25 13:54 UTC (permalink / raw)
  To: Mahesh Guleria <mahesh@himline.com>; pgsql-admin

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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Data Conversion
@ 2001-07-02 10:54  Andrew W. Nosenko <awn@bcs.zp.ua>
  parent: Mahesh Guleria <mahesh@himline.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Andrew W. Nosenko @ 2001-07-02 10:54 UTC (permalink / raw)
  To: pgsql-admin

Mahesh Guleria wrote:
: Can be convert data from postgres to foxpro2.5??
: Is it possible?? Please help me.
: 

Perl5 + DBI + DBD::Pg + DBD::XBase

-- 
Andrew W. Nosenko    (awn@bcs.zp.ua)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2001-07-02 10:54 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-06-25 06:20 Data Conversion Mahesh Guleria <mahesh@himline.com>
2001-06-25 13:54 ` Christof Glaser <gcg@gl.aser.de>
2001-07-02 10:54 ` Andrew W. Nosenko <awn@bcs.zp.ua>

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