RE: MS SQL 7.0 to PostgreSQL 7.1

Поиск
Список
Период
Сортировка
От Gordon Runkle
Тема RE: MS SQL 7.0 to PostgreSQL 7.1
Дата
Msg-id 9dccv7$1i84$1@news.tht.net
обсуждение исходный текст
Ответ на RE: MS SQL 7.0 to PostgreSQL 7.1  (Jeff Eckermann <jeckermann@verio.net>)
Список pgsql-general
In article <08CD1781F85AD4118E0800A0C9B8580B094A74@NEZU>, "Jeff Eckermann"
<jeckermann@verio.net> wrote:

> Also:
> *    Watch out for embedded tabs and carriage returns in your data: these
> will cause problems during or after your COPY into PostgreSQL. *    Check
> the value used in the exported file to represent NULL values (could be
> an empty string, or "NULL", or something else), and use that in your
> COPY statement: "COPY table from stdin with null as 'whatever';"

My experience is that MSSQL7 will export (bcp) NULLs
as an ASCII zero character.  Not pretty.  You'll want
to put together a little PERL script to fix that.

Gordon.
--
It doesn't get any easier, you just go faster.
   -- Greg LeMond

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Oracle to Pg tool
Следующее
От: John Coers
Дата:
Сообщение: COPY locking