Skip to content

Trigger or constraint

Rule: a submission's score must be between 0 and 100.

A trigger and a CHECK constraint can both enforce this. Why is the constraint the better choice?