/*Adding Check constraint in sql server*/ ALTER TABLE (Table_Name) ADD CONSTRAINT (Constraint_Name) CHECK (Boolean_Expression)