| Universal Database (netDB2) Introductory GuideWorking With Constraints
Constraints: 
 In such cases, one can put checks using constraints. The constraints can be put in a table or can be implemented using a "Alter" statement or set statement. Example: 
 This particular check implements that the year of hire should be greater than 1990 and also that the salary one is earning has to be 20,000 dollars. Example: 
 This example checks the age of student, by adding a constraint to a table. |