Rules the database enforces
Your app can check data, but bugs happen and scripts skip checks. Constraints are rules stored in the table itself: the database refuses any row that breaks them, whoever sends it.
Your app can check data, but bugs happen and scripts skip checks. Constraints are rules stored in the table itself: the database refuses any row that breaks them, whoever sends it.