▲ | monkeyelite 5 days ago | ||||||||||||||||
My proposal is to use a null date. Did you miss the part about contradictory states? Are you going to add some database constraints to your book instead? | |||||||||||||||||
▲ | RaftPeople 5 days ago | parent [-] | ||||||||||||||||
If you need to store a value that has two states, use a boolean, don't overcomplicate it unless there is real value in creating the complication (which there is value, sometimes). Regarding contradictory states: Given that just about no DB is in 5th normal form, the possibility of contradictory states exist in almost every RDBMS, regardless of booleans. It seems like an argument that doesn't really have any strength to it. | |||||||||||||||||
|