• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: uniqueness constraint on an a foreign key
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: uniqueness constraint on an a foreign key


  • Subject: Re: uniqueness constraint on an a foreign key
  • From: Florijan Stamenkovic <email@hidden>
  • Date: Fri, 19 Sep 2008 15:34:38 -0400


On Sep 19, 2008, at 14:56, Chuck Hill wrote:


On Sep 19, 2008, at 11:52 AM, Florijan Stamenkovic wrote:


On Sep 19, 2008, at 13:26, Chuck Hill wrote:

If the relationship is mandatory, I'd use the PK.

As in propagate PK? That does not work in this case because there can be A rows that do not have any related B rows.


Or did you mean something else?

Yes, that is what I was thinking of. If it is not really a to- many, why not put the PK of B into A as a FK?

That would just reverse the situation into A <<-> B, no? What I need to is an enforced A <-> B, and in that B -> A is mandatory, and A -> B as optional.


F
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: uniqueness constraint on an a foreign key
      • From: Chuck Hill <email@hidden>
References: 
 >uniqueness constraint on an a foreign key (From: Florijan Stamenkovic <email@hidden>)
 >Re: uniqueness constraint on an a foreign key (From: Chuck Hill <email@hidden>)
 >Re: uniqueness constraint on an a foreign key (From: Florijan Stamenkovic <email@hidden>)
 >Re: uniqueness constraint on an a foreign key (From: Chuck Hill <email@hidden>)

  • Prev by Date: [OT] Eclipse class search shortcut
  • Next by Date: Re: [OT] Eclipse class search shortcut
  • Previous by thread: Re: uniqueness constraint on an a foreign key
  • Next by thread: Re: uniqueness constraint on an a foreign key
  • Index(es):
    • Date
    • Thread