Re: Database Design problem

From: Jon Heggland <heggland_at_idi.ntnu.no>
Date: Wed, 30 Nov 2005 12:20:47 +0100
Message-ID: <MPG.1df7a96e8b72b51298971c_at_news.ntnu.no>


In article <dmi5v9$1r8$1_at_domitilla.aioe.org>, wallace.reis_at_gmail.com says...
> Jon Heggland wrote:
> > An exceedingly simple constraint will take care of that.
>
> How would you do it?

In D4 syntax:

constraint DontPlayAgainstYourself
  hometeam <> awayteam

-- 
Jon
Received on Wed Nov 30 2005 - 12:20:47 CET

Original text of this message