Professional Documents
Culture Documents
-------------------
> A constraint is nothing but se of rules which we will apply on a table's column
to maintain data integrity.
> It will not allow data redundancy/duplicacy.
> A constraint can be applied on a table level or on a column level
> Table level means when we apply constraint for more than one column
> Column level means when we apply constraint for only one column
Types of Constraint
--------------------
(1) Primary Key
(2) Unique
(3) NOT NULL
(4) CHECK
(5) FOREIGN Key