What is a "constraint"?
Ask by Pushpendra Singh
Updated 19 Sep 2020
A constraint is an expression that specifies the semantics of an element, and it must always be true.
Constraint is a restriction on table.There are two types of
constraints 1.ananymous constraint and 2.named
constraint.under named and ananymous constraints there are
1.primary key constraint
2.foreign key constraint
3. not null constraint
4. check constraint
5. unique constraint.