Re: Alternative to serial primary key

Поиск
Список
Период
Сортировка
От Aaron Bono
Тема Re: Alternative to serial primary key
Дата
Msg-id bf05e51c0607062251w8f3c853u6032e20aeddb6802@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Alternative to serial primary key  (<operationsengineer1@yahoo.com>)
Список pgsql-sql
On 7/7/06, operationsengineer1@yahoo.com <operationsengineer1@yahoo.com> wrote:
> Plus I feel I would be remiss in not
> exploring an
> alternative to the serial key.

why?  it is a tried and true method.

Actually, there are two reasons I think it good for someone new to SQL to explore this option.  First of all, it is very educational.  Secondly, it is the person who stands up and says, "I know everyone does it this way, but what if we did it that way?" who has a chance of discovering something new.

For this particular topic however, using the serial is very easy and using a hash is not only error prone but much more difficult.

It is good to see different philosophies about foreign keys though!

-Aaron Bono

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

Предыдущее
От:
Дата:
Сообщение: Re: Alternative to serial primary key
Следующее
От: "Phillip Smith"
Дата:
Сообщение: Select CASE Concatenation