RE: Access import

Поиск
Список
Период
Сортировка
От Sokel, John
Тема RE: Access import
Дата
Msg-id CAD59D8EA8B7124894637FC44951789F496EDD@scratchy.int.mdsi-usa.com
обсуждение исходный текст
Ответ на Access import  ("Marc Zandvliet" <marc@auroraworks.com>)
Список pgsql-novice

I don't know if you have ODBC enabled or not, but I found this little SQL utility that transfers data from one source into another.  It saved me a tremendous amount of time pulling my data out of an Oracle database and pumped it right into my Postgres database.  There was no messing around with exporting and importing issues, just click and go. 

www.indus-soft.com/winsql

The professional version is required to do DB->DB moves, but it's only $100.

John

-----Original Message-----
From: Marc Zandvliet [mailto:marc@auroraworks.com]
Sent: Wednesday, August 30, 2000 1:43 PM
To: pgsql-novice@hub.org
Subject: [NOVICE] Access import

I'm trying to import a small Access db into a linux-based psql database via
a delimited text file. I've set up the table to reflect the fields etc. The
last field of the database is boolean which Access exports as 0 or 1. When I
try to import I get this:

mydb=> copy new_table from '/tmp/exported.txt' using delimiters '|';
'RROR:  Bad boolean external representation '1
mydb=>

I've checked the source text file and the last field doesn't have the '
before the 1.

Any suggestions? This should be straight forward right?

Thanks for any assistance,

Marc

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Failing to boot Postgres on Red Hat Linux
Следующее
От: "Warren Odom"
Дата:
Сообщение: RE: sql with postgresql beginner