Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Boolean has only two states; on, off one, Zero/off or one/zero. On the other hand if itsit's in a database it can be null, not set. soSo use zero, one or null for male, female, other. Three states in one Boolean field.
Boolean has only two states; on, off one, Zero. On the other hand if its in a database it can be null, not set. so use zero one or null for male, female, other. Three states in one Boolean field.
Boolean has only two states; on/off or one/zero. On the other hand if it's in a database it can be null, not set. So use zero, one or null for male, female, other. Three states in one Boolean field.
Boolean has only two states; on, off one, Zero. On the other hand if its in a database it can be null, not set. so use zero one or null for male, female, other. Three states in one Boolean field.