Re: Question about "linking tables"

From: Bob Badour <bbadour_at_pei.sympatico.ca>
Date: Sat, 19 May 2007 13:03:31 -0300
Message-ID: <464f1f8a$0$4024$9a566e8b_at_news.aliant.net>


Kevin Porter wrote:

> Folks,
>
> I have a theory question regarding relational databases and linking tables:
>
> I saw an example where there were three tables, Books, Authors, and Categories,
> each with a sequential ID for a primary key.
>
> Now instead of having a field in Books that pointed to the foreign key in
> Authors, they had a linking table that had just the foreign keys listing the
> relationship between all the items in both tables. Then they had the same kind
> of table between Categories and Books, just with the foreign keys in it.
>
> So what is the advantage of having the linking table instead of the two foreign
> keys directly in the Books table? Is it easier for the users? Or is there
> database theory at work that I don't understand?
>
> Thanks - Bob

Hi Kevin,

I am curious: Why did you sign off with Bob's name? Received on Sat May 19 2007 - 18:03:31 CEST

Original text of this message