SQL Constraints

Constraint means  a limitation or restriction.If there is any violation between the constraint and the data action, the action is aborted.
Types of Constraints 

1. NOT NULL

2. UNIQUE

3. PRIMARY KEY

4. FOREIGN KEY

5. CHECK
DEFAULT

Advertisements