Database - CONSTRAINTS
Constraints are used to limit the type of data that can go into
a table.
Constraints can be specified
when a table is created
(with the CREATE TABLE statement) or after the table is
created (with the ALTER TABLE statement).
We will focus on the following constraints:
1.Primary
key Constraint
2.Unique Constraint
3.Foreign
Key Constraint
4.Check
Constraint
5.Default
6.Rule
7.Null
8.NOT NULL
Comments
Post a Comment