I have a series of checkboxes and need to store their values in a MySQL
table.
I'm wondering what data type people recommend:
varchar or text, exp. "True/False", "Yes/No"
tinyint, exp. "0/1"
Maybe it depends on the usage or maybe it doesn't matter and/or is a choice
of personal preference.
Comments welcome.
p.s. Is there a reference page somewhere that discusses the various data
types and their recommended uses?
table.
I'm wondering what data type people recommend:
varchar or text, exp. "True/False", "Yes/No"
tinyint, exp. "0/1"
Maybe it depends on the usage or maybe it doesn't matter and/or is a choice
of personal preference.
Comments welcome.
p.s. Is there a reference page somewhere that discusses the various data
types and their recommended uses?
Comment