On Mon, May 14, 2001 at 03:51:00PM -0700, Gary Bickford wrote:
>
> Personal data databases often seem to have variable information that
> doesn't fit all that well in relational databases.  For example,
> multiple phone numbers for different purposes.

Create a table with three columns.

  (1) And id to refer back to a "person" with.
  (2) An enum column with values like ('Work', 'Home', 'Cell') etc.
  (3) The phone number.

Simple. Relational. Managable.

Jeremy
-- 
Jeremy D. Zawodny, <[EMAIL PROTECTED]>
Technical Yahoo - Yahoo Finance
Desk: (408) 349-7878    Fax: (408) 349-5454    Cell: (408) 439-9951

MySQL 3.23.29: up 131 days, processed 811,026,018 queries (71/sec. avg)

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to