Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> comp.databases.theory -> Re: Database Design problem

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@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 - 05:20:47 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US