RDOHELP72.HLB  —  CHANGE_RELATION, Format  relation-constraint-def
    Using the relation-constraint-def clause you can name or specify
    the type of relation-level constraints to be defined within a
    specific relation definition.

  (B)0relation-constraint-def =
  qwq> CONSTRAINT constraint-name IS qqwqk
   mqqqqqqqqqqqqqqqqqqqqq<qqqqqqqqqqqqqj x
  lqqqqqqqqqqqqqqqqqq<qqqqqqqqqqqqqqqqqqqj
  twq> UNIQUE qqqqqqw>qqw> unique-field-name qqqwqqwqqqk
  xmq> PRIMARY KEY qj   mqqqqqqqqq , qqqq<qqqqqqj  x   x
  tqq> FOREIGN KEY qw> referencing-field-name qwqk x   x
  x                 mqqqqqqqqqqqqq , qqqq<qqqqqj x x   x
  x lqqqqqqqqqqqqqqqq<qqqqqqqqqqqqqqqqqqqqqqqqqqqj x   x
  x mq> REFERENCES referenced-relation-nameqqqqqqqkx   x
  x           lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqjx   x
  x           mqqqwqqqqqqqqqqqqqqqqqqqqqqqqqqwqqqqqu   x
  x               mw> referenced-field-name wj     x   x
  x                mqqqqqqqqqq , qqqq<qqqqqqj      x   x
  mqqq> USING rse REQUIRE conditional-expr qqqqqqqqj   x
  lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq<qqqqqqqqqqqqqj
  mwqqqqqqqqqqqqqqqqqqqqqqqqqwq>
   m> CHECK ON qwqq> COMMIT qu
                mqq> UPDATE qj

1  –  Arguments

    Constraint-name must be unique within the database. The
    constraint name can be referred to in other statements such as
    DEFINE RELATION, SHOW CONSTRAINT, and START_TRANSACTION.

    The phrase 'CONSTRAINT constraint-name is' is optional. If you
    specify the keyword CONSTRAINT, you must also provide a name for
    the constraint.
Close Help