Hacker News new | ask | show | jobs
by ue_ 3828 days ago
>no you can't just use a bit to store gender.

Why not? The bit can store male/female and you can leave it NULL for "prefer not to say".

1 comments

A bit does not get 3 values.

https://en.m.wikipedia.org/wiki/Bit

True, though within a database you can leave a field as NULL.