The most generic type of constraint
The Check constraint is the most generic type of constraint.
alter table things add CONSTRAINT corners_must_be_greater_than_0 CHECK (corners > 0);
Tweet
The Check constraint is the most generic type of constraint.
alter table things add CONSTRAINT corners_must_be_greater_than_0 CHECK (corners > 0);
Tweet