Option 1
+ fast, you only need one select and one update to write or read one record
+ easy to understand for everybody
Option 2 + 3
- slow
- not intuitive
If you have some required fields and 0...many optional fields for your records, you could also write all the optional field serialised in one row, but then you can't access the optional fields simple with sql.
ciao, knoebi
In reply to Re: (OT) Database design: omitted partially filled fields.
by knoebi
in thread (OT) Database design: omitted partially filled fields.
by BUU
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |