Re: Dreaming About Redesigning SQL
Date: Mon, 27 Oct 2003 08:43:53 -0500
Message-ID: <3526485.1067262233_at_dbforums.com>
Originally posted by Mike Preece
> news:<UZ3nb.30451$ao4.58659_at_attbi_s51>...
> > I would have a persons table, with a primary key, and a
> > phone numbers table with a primary key (possibly the phone
> > number itself) and another table with two foreign keys:
> > person id and phone id.
> >
> > Marshall
>
> Oh. You mean like an index? We could just have a single file:
>
> File Phones
> ID: Phone Number
> 001: Phone type ('C'ell, 'H'ome, 'F'ax, 'W'ork, 'D'irect or
> whatever)
> 002: PersonalIDs (multivalued)
> ..and any other data relating primarily to the phone
>
> and index it on PersonalID.
>
> I think it's more or less the same - or are b-tree indexes not
> allowed?
>
> Mike.
-- Posted via http://dbforums.comReceived on Mon Oct 27 2003 - 14:43:53 CET