RE: Access 97 Database and Postgres

From: Wilkinson Charlie E <Charlie(dot)E(dot)Wilkinson(at)irs(dot)gov>
To: bmccoy(at)chapelperilous(dot)net
Cc: pgsql-general(at)postgresql(dot)org
Subject: RE: Access 97 Database and Postgres
Date: 2000-07-26 17:59:33
Message-ID: C9077ABBC4CED311A69F0004AC3699EB02FBF622@nct0010mb03.nc.no.irs.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> -----Original Message-----
> From: bmccoy(at)chapelperilous(dot)net
>
[Exporting data from Access...]
>
> Trying to do it with ODBC was just a pain the arse,
> slow, and VERY unpredictable.

That pretty much describes my experience. All that and "Hotfixes" too.
Yeesh... I started down that road because I thought it would be easier.
*cough*

Did you know that Access 2000 ships so broken that if you try to
export a table via ODBC it starts out with something like:

CREATE TABLE foo ( varchar(20), int4, float8 )

Naturally Postgres had some issues with the lack of column names. So
I'm wondering when Postgres will be fixed to handle this new MS
standard?? ;-)

(Seriously, if any masochistic individual on the list wants the
MS hotfixes for that, drop me a note.)

> 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.

Mmm?? Now you've really got my ear. You're saying I could hack up
something in Perl on the Linux box to snarf data out of the Access
database on the Windoze box via ODBC? (I just assumed that the
Windoze ODBC stuff would be client-only.) I've already done some DBI
stuff with Postgres, so I'm not completely out in the dark here.

Provided I wouldn't have to code up anything _too_ massive, this
sounds like something I very much wish I had known a couple of
months ago!

Thanks Brett.

-cw-

--
Charlie Wilkinson - TRIS Development Systems Administrator
IS:SD:CT:CC:TD
Phone: 202-283-3241
MSMail: Charlie E Wilkinson
SMTP: cwilkins(at)tris(dot)irs(dot)gov
Home: cwilkins(at)boinklabs(dot)com
This message constructed from 90% post-consumer electrons.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message bmccoy 2000-07-26 18:20:42 RE: Access 97 Database and Postgres
Previous Message Michael Blakeley 2000-07-26 17:50:03 Re: Performance for seq. scans