Re: Unique Constraint with foreign Key

Поиск
Список
Период
Сортировка
От Karsten Hilbert
Тема Re: Unique Constraint with foreign Key
Дата
Msg-id 20040517185113.B592@hermes.hilbert.loc
обсуждение исходный текст
Ответ на Re: Unique Constraint with foreign Key  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-sql
> > or Can i have varchar types  of size 50 as primary keys in Postgres.
> Yes. But unless the 50 character limit comes from a business rule, you
> might want to use the type 'text'.
And if that limit does come from a business rule you might want
to think twice whether using columns constrained by business
rules are good candidates for primary keys.

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346


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

Предыдущее
От: PS PS
Дата:
Сообщение: Max Columns in a SQL Select
Следующее
От: Andrew Hammond
Дата:
Сообщение: Re: view running query