Glossary: SQL Beyond the Basics
CHECK constraint
Also written: CHECK
A rule that a condition must not be false for a row to be stored, such as `CHECK (price > 0)`. A NULL passes, so pair it with NOT NULL when a value is required.
Glossary: SQL Beyond the Basics
Also written: CHECK
A rule that a condition must not be false for a row to be stored, such as `CHECK (price > 0)`. A NULL passes, so pair it with NOT NULL when a value is required.