RE: Access 97 Database and Postgres

Поиск
Список
Период
Сортировка
От Wilkinson Charlie E
Тема RE: Access 97 Database and Postgres
Дата
Msg-id C9077ABBC4CED311A69F0004AC3699EB02FBF622@nct0010mb03.nc.no.irs.gov
обсуждение исходный текст
Ответ на Access 97 Database and Postgres  (Wilkinson Charlie E <Charlie.E.Wilkinson@irs.gov>)
Ответы RE: Access 97 Database and Postgres  (<bmccoy@chapelperilous.net>)
Список pgsql-general

> -----Original Message-----
> From: bmccoy@chapelperilous.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@tris.irs.gov
Home:  cwilkins@boinklabs.com
This message constructed from 90% post-consumer electrons.

В списке pgsql-general по дате отправления:

Предыдущее
От: Michael Blakeley
Дата:
Сообщение: Re: Performance for seq. scans
Следующее
От:
Дата:
Сообщение: RE: Access 97 Database and Postgres