Re: Use of reference table ('look-up-table') and FK constraint

Поиск
Список
Период
Сортировка
От Charles Hauser
Тема Re: Use of reference table ('look-up-table') and FK constraint
Дата
Msg-id 1034863604.1760.15.camel@pandorina.biology.duke.edu
обсуждение исходный текст
Ответ на Re: Use of reference table ('look-up-table') and FK constraint  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: Use of reference table ('look-up-table') and FK constraint  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-sql
Josh & Stephan,

This helps a lot - thanks!

Any idea what datatype 'Identifier_type IDENTITY' specifies?  I don't
see this in the postgres documentation.  I'll see what I can find in
sybase lingo.


CREATE TABLE phone (        phone_id             Identifier_type IDENTITY,        phone_number         varchar(20) NOT
NULL,       community_id         numeric(12) NOT NULL,        type                 varchar(10) NULL REFERENCES
 
phone_types(type) ON 
DELETE SET NULL );

regards,

Charles



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

Предыдущее
От: "Gaetano Mendola"
Дата:
Сообщение: Re: functions that return a dataset or set of rows
Следующее
От: Charles Hauser
Дата:
Сообщение: object oriented vs relational DB