Re: Paradox, dbf and PostgreSQL ?

From: "Stefan Waidele jun(dot)" <St(dot)Waidele(dot)jun(at)Krone-Neuenburg(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Paradox, dbf and PostgreSQL ?
Date: 2001-03-08 07:19:55
Message-ID: 5.0.2.1.0.20010308081328.00a9aad8@imap.Krone-Neuenburg.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

At 02:17 08.03.2001 +0100, Thomas Nagy wrote:
>Hi,
>
>I'm from Nantes, France and I've started learning PostgreSQL a few weeks
>ago. I've read the manual, but I'm still new, so just tell me if I write
>nonsense.
>
>My Brother is still on winchose, and he has sent to me some *.dbf and
>paradox data files that he made with Delphi or something like that. I'm
>tempted to use them with PostgreSQL, and I guess there is something to do
>on these files to read them .
>I have tried to convert them with a program called dbf2sql but nothing
>happened. Has anybody ever succeeded in converting such files ? If so,
>please tell me how to proceed.

What do You mean with 'nothing' happened?
I do not have the docs for dbf2sql, but it sounds like it takes a DBF-File
an prints out the corresponding sql-statements.
It is on You to grab them, write them to a file and run that file through psql.

Should be something like

> dbf2sql --your --options --here YourBrothers.dbf >output.sql
> psql yourdbname
yourdbname=# \i output.sql

HTH,

Stefan

Disclaimer: The dbf2sql-syntax is pure quesswork! Check the manpage. The
important thing is to write the output to a file, either with an option or
the shell--redirect '>'

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alfred Perlstein 2001-03-08 07:43:55 Re: unbalanced indexes -> fixed via dump/restore?
Previous Message Jan Wieck 2001-03-08 06:54:26 Re: triggers vs. 'NEW in non-rule query' -- SOLVED?