CHECK Constraint is used, when we want to limit the value range that is going to be inserted in a column.
For example, Suppose we want that the data of employee should be inserted whose age is greater than 20.
Then the CHECK constraint will check, whether the age is greater than 20 or not. If not, then the data will not be inserted.
# | Program | Language |
---|---|---|
1 | SQL | |
2 | SQL | |
3 | SQL | |
4 | SQL | |
5 | SQL | |
6 | SQL | |
7 | SQL | |
8 | SQL | |
9 | SQL | |
10 | SQL | |
11 | SQL | |
12 | SQL | |
13 | SQL | |
14 | SQL | |
15 | SQL | |
16 | SQL | |
17 | SQL | |
18 | SQL | |
19 | SQL | |
20 | SQL | |
# | Program | Language |
Copyright © 2020 Inovatik - All rights reserved