Re: Access 97 Database and Postgres

From: <bmccoy(at)chapelperilous(dot)net>
To: Wilkinson Charlie E <Charlie(dot)E(dot)Wilkinson(at)irs(dot)gov>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Access 97 Database and Postgres
Date: 2000-07-26 16:54:22
Message-ID: Pine.LNX.4.10.10007261251430.15843-100000@chapelperilous.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 26 Jul 2000, Wilkinson Charlie E wrote:

> Is there a better way? (Even just _slightly_ better?) During our
> migraineXXXXXXXXX migration I will need to transfer the data a few more
> times and I really don't want to make a career out of exporting data...

I've had better success exporting the data out of Access in some sort of
delimited format, creating my own schema in Postgres, then importing the
data in via COPY. Trying to do it with ODBC was just a pain the arse,
slow, and VERY unpredictable.

You could also autmoate this somewhat by writing a Perl script or
something similar and querying the data out of Access (via ODBC, of
course), and then putting it directly into Postgres via DBI. This way you
can massage data in between if necessary.

Brett W. McCoy
http://www.chapelperilous.net/~bmccoy/
-------------------------------------------------------------------------------
"If the code and the comments disagree, then both are probably wrong."
-- Norm Schryer

In response to

Browse pgsql-general by date

  From Date Subject
Next Message bmccoy 2000-07-26 16:59:43 Re: Performance for seq. scans
Previous Message The Hermit Hacker 2000-07-26 16:45:13 Re: Perl Module Installed?