| www.sum-it.nl > Courses > DB Design course > Method > 3. Technical Optimisation > Steps > Use ranges | Previous Nederlands · Search... |
Use rangesSometimes it can be handy to work with ranges. |
Introduction 1. Scope 2. Logical Design Goal Optimisation steps Denormalise Combine tables Store derived data Add indexes Sort 4. Implementation End | |||
| Postcode | Street | City | ||
|---|---|---|---|---|
| 2803 DA | Groenhovenweg | Gouda | ||
| 2803 DB | Groenhovenweg | Gouda | ||
| 2803 DC | Groenhovenweg | Gouda | ||
| ... | ... | ... | ||
| 2803 DL | Groenhovenweg | Gouda | ||
| This could be solved with a range. | ||||
| Start Postcode | End Postcode | Street | City | |
| 2803 DA | 2803 DL | Groenhovenweg | Gouda | |
Be careful:
Ranges make the software more complex.
Adding an extra postcode can be quite a puzzle:
|
||||
| Next: Denormalise | ||||