Re: REF: Data Migration MS SQL Server 7.0 to PostgreSQL 8.4 on Linux

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: REF: Data Migration MS SQL Server 7.0 to PostgreSQL 8.4 on Linux
Дата
Msg-id 4B73C895020000250002F180@gw.wicourts.gov
обсуждение исходный текст
Ответ на REF: Data Migration MS SQL Server 7.0 to PostgreSQL 8.4 on Linux  (Luis Dominguez <bcld@hotmail.com>)
Список pgsql-admin
Luis Dominguez <bcld@hotmail.com> wrote:

> I am now in the process of migrating a database from a driver
> ms sql server 7.0 to postgresql 8.4 vesion but I have a problem
> with the data type (timestamp) SQL Server 7.0 that refers to a
> single binary field that is updated randomly by row, and this
> field is paramount in my application for purposes of monitoring,
> postgresql 8.4 now also have the same timestamp but refers to
> other data (date + time), I investigated other types of data such
> as (serial, uuid, xid, byte etc) in postgresql and not get
> something just to replace it, I thought of a function that do
> something similar but not yet tried, and of course I turn to you
> to see if I can lend a hand with this rut that I have right now

Did you consider creating a SEQUENCE used by a trigger on update or
insert of a row?

http://www.postgresql.org/docs/8.4/interactive/sql-createsequence.html

-Kevin

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

Предыдущее
От: Luis Dominguez
Дата:
Сообщение: REF: Data Migration MS SQL Server 7.0 to PostgreSQL 8.4 on Linux
Следующее
От: Dimitri Fontaine
Дата:
Сообщение: Re: please remove my email address