What is a "constraint"?
2612
25-Oct-2010
Updated on 19-Sep-2020
Amit Singh
09-Nov-2010A 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.
Pushpendra Singh
01-Nov-2010