Re: [GENERAL] Migrating money column from MS SQL Server to Postgres

Поиск
Список
Период
Сортировка
От Adam Brusselback
Тема Re: [GENERAL] Migrating money column from MS SQL Server to Postgres
Дата
Msg-id CAMjNa7czAXdToGnHqJRtDjCOFsFevxOCzA=Ypv0yAF7nh7iYfA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [GENERAL] Migrating money column from MS SQL Server to Postgres  (Allan Kamau <kamauallan@gmail.com>)
Ответы Re: [GENERAL] Migrating money column from MS SQL Server to Postgres
Список pgsql-general
> Since you are migrating data into a staging table in PostgreSQL, you may set
> the field data type as TEXT for each field where you have noticed or
> anticipate issues.
> Then after population perform the datatype transformation query on the given
> fields to determine the actual field value that could not be gracefully
> transformed.

This is the approach I have come to as the most successful for data migrations.

I will use tools like Kettle / Talend to get data into a staging table
with every column as text, then use SQL to migrate that to a properly
typed table.  Works much better than trying to work within the
constraints of these tools.


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

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

Предыдущее
От: "Felix Kunde"
Дата:
Сообщение: Re: [GENERAL] Oracle to PostgreSQL
Следующее
От: Valdir Kageyama
Дата:
Сообщение: [GENERAL] Migrating plattaform