what does a check constraint do
CHECK The CHECK constraint ensures that all values in a column satisfy certain conditions. For example, in the following statement, CREATE TABLE Customer (SID integer CHECK (SID > 0), Last_Name varchar (30), First_Name varchar(30)); Column SID must only include integers greater than 0.