Need Assistance?

support@tutorialshub.in

Constraints & Data Integrity

CHECK & DEFAULT Constraints

ADVERTISEMENT
PostgreSQL Free Lesson
5 min read
ADVERTISEMENT

A CHECK constraint rejects invalid rows before they ever hit disk—for example, ensuring a product price is never negative or an order quantity is at least 1.

ADVERTISEMENT
Hi, I'm Tuby! Here to help you