database - How to assign values to store gender information? -
i'm creating application stores data users. wondering mapping of gender appropriate:
male - false; female - true or
female - false; male - true is there standard this?
i have seen bit (sql server) type being used genders, mentioned. places i've worked used char(1) column that, because thought someday might have store genders other male , female (i.e.: androginous/assexual, transexual (both male or female), hermaphrodite, unknown etc.). , knows? in case, both solutions work. i'm inclined bit solution may have better performance if scalability issue, though should matter huge databases.
Comments
Post a Comment