Jan Niklas Fingerle wrote: > > it's > > not even usable for referential integrity AFAIK. > > I fail to see, why you shouldn't be able to have a primary or unique > key on (a,b,c) and a foreign key to a different table on (a,b). Please > explain.
If a table requires three keys to guarantee uniqueness, and you only use two in a foreign key, that relationship does not have referential integrity. Imagine a library that is organized by aisle, section, and shelf. Then imagine having someone only give you the aisle and shelf and telling you to go put books away. -Adam --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---

