Re: many to one of many modeling question
От | Erik Jones |
---|---|
Тема | Re: many to one of many modeling question |
Дата | |
Msg-id | FDC4D0EC-6EF6-43A3-ADF3-6BD269B6F12F@myemma.com обсуждение исходный текст |
Ответ на | Re: many to one of many modeling question (Richard Broersma Jr <rabroersma@yahoo.com>) |
Список | pgsql-general |
On Jan 7, 2008, at 6:00 PM, Richard Broersma Jr wrote: > --- On Mon, 1/7/08, Erik Jones <erik@myemma.com> wrote: > >> From: Erik Jones <erik@myemma.com> >> Subject: Re: [GENERAL] many to one of many modeling question >> To: "Richard Broersma Jr" <rabroersma@yahoo.com> >> Cc: "Postgres General List" <pgsql-general@postgresql.org>, "Kevin >> Hunter" <hunteke@earlham.edu>, "Caktus Team" <team@caktusgroup.com> >> Date: Monday, January 7, 2008, 3:06 PM >> On Jan 7, 2008, at 2:22 PM, Richard Broersma Jr wrote: >> >>> CREATE TABLE comments ( >>> id SERIAL, >>> obj_id INTEGER ... >>> FOREIGN KEY (obj_id) >>> REFERENCES ONE OF o(id); >> >> Where are you guys getting this REFERENCES ONE OF stuff? > > Oops, my mistake. The OP was using this fake syntax "REFERENCES > ONE OF" simply to illustrate the functionality that was desired. I > forgot to delete this bad syntax from my example. > > Thanks for the correction! No worries. I was actually serious in that I thought I may have missed something! Erik Jones DBA | Emma® erik@myemma.com 800.595.4401 or 615.292.5888 615.292.0777 (fax) Emma helps organizations everywhere communicate & market in style. Visit us online at http://www.myemma.com
В списке pgsql-general по дате отправления: