From: | Jeremy Buchmann <jeremy(at)wellsgaming(dot)com> |
---|---|
To: | "Mike McCormac" <MikeM(at)jcmh(dot)org> |
Cc: | <pgsql-interfaces(at)postgresql(dot)org> |
Subject: | Re: dbf2pg, visual foxpro and other nonsense |
Date: | 2002-07-10 15:19:18 |
Message-ID: | 67102643-9418-11D6-8D98-000502E740BA@wellsgaming.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
On Tuesday, July 9, 2002, at 10:27 AM, Mike McCormac wrote:
> i've been importing older foxpro tables (x-base files) into postgresql
> with much success using dbf2pg... however, visual foxpro files don't
> seem to work — i just get an error.
>
> does anyone know of any successful means of importing this data
> directly? our backend application is built in java... are there any
> good solutions with JDBC??
>
You can copy the Foxpro tables to text and then copy them into Pg.
The problem is, Foxpro likes to make its data "dirty" by surrounding text
with quotes, inserting newlines for no reason and things like that, so
you may need to write a script or something that strips all that crap
out.
Have fun.
--Jeremy
From | Date | Subject | |
---|---|---|---|
Next Message | Josh Berkus | 2002-07-10 15:44:59 | Re: [pgaccess-users] RE: [HACKERS] bugzilla.pgaccess.org |
Previous Message | Hannu Krosing | 2002-07-10 14:16:46 | Re: [pgaccess-users] RE: [HACKERS] bugzilla.pgaccess.org |