
Note: The names PRIMARY, FOREIGN, MESSAGE, UNIQUE, DISTINCT,
CHECK, and NOT cannot be used as values for constraint-name.
constraint-specification
is a constraint definition in this form:
constraint <MESSAGE='message-string' <MSGTYPE=message-type>>
constraint
is one of the following integrity constraints:
CHECK (WHERE-clause)
specifies that all rows in table-name satisfy the WHERE-clause. WHERE-
clausespecifies a SAS WHERE clause. Do not include the WHERE keyword
in the WHERE clause.
DISTINCT (column-1<, column-2, …>)
specifies that the values of each column must be unique. This constraint is
identical to UNIQUE.
FOREIGN KEY (column-1<, column-2,>) REFERENCES ...