in reply to (OT) Database design: omitted partially filled fields.
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: (OT) Database design: omitted partially filled fields.
by exussum0 (Vicar) on Jul 21, 2004 at 15:24 UTC |