Re: surrogate key or not?

Поиск
Список
Период
Сортировка
От Markus Bertheau
Тема Re: surrogate key or not?
Дата
Msg-id 1090407515.3239.4.camel@dicaprio.akademie1.de
обсуждение исходный текст
Ответ на Re: surrogate key or not?  (sad <sad@bankir.ru>)
Ответы Re: surrogate key or not?
Список pgsql-sql
В Срд, 21.07.2004, в 09:44, sad пишет:

> 4) Replication:  to identify an object of ANY type (record of any table
> regardless to datamodel), to store lists of deleted or modified objects
> (regardless to datamodel)

That sounds like a datamodel on data that belongs to another data model,
and 5) applies.

> 5) Making a primary key: if there is no real key at all.

When there's no key at all, there can't be a surrogate key, as I
understand it. In such cases a generated unique number comes in handy,
and it's a real primary key and no surrogate key.

Спасибо

--
Markus Bertheau <twanger@bluetwanger.de>



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

Предыдущее
От: sad
Дата:
Сообщение: Re: surrogate key or not?
Следующее
От: sad
Дата:
Сообщение: Re: surrogate key or not?