
160 - PostgreSQL with Andrew Atkinson
Code with Jason
00:00
Do Check Constraints Really Mean Anything?
i i apologize because i'm going to interrupt you, like a thousand times. But when you say check constraint, what exactly do you mean in this context? I thought that was like an umbrella term that encompassed foreign key constraints, not null constraint, stuff like that. It's a specific type of constraint. A check constraint can be added as part of a create table statement or it could be added to a particular column to validate the values in that column at any point and time.
Transcript
Play full episode