Hacker News new | past | comments | ask | show | jobs | submit login

>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".

A bit does not get 3 values.


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

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact