If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > n00b question on linking table

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-12-09, 15:29
rbfree rbfree is offline
Registered User
 
Join Date: Feb 2009
Posts: 104
n00b question on linking table

I have the table owners and the table stands, with PKs ownerID and standID respectively. They have a m-to-m relationship, so I want to link them with a linking table.

Am I correct in thinking that these tables do NOT need foreign keys from their respective other table? That is, the owners table does not need the foreign key, standID and the stands table doesn't need the ownerID foreign key, if my objective is to link the two through a linking table.
Reply With Quote
  #2 (permalink)  
Old 02-12-09, 15:56
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,605
Yes.

-PatP
Reply With Quote
  #3 (permalink)  
Old 02-12-09, 16:02
rbfree rbfree is offline
Registered User
 
Join Date: Feb 2009
Posts: 104
thanks

Thanks. This stuff is starting to sink in.
Reply With Quote
  #4 (permalink)  
Old 02-12-09, 19:18
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
Quote:
Originally Posted by rbfree
This stuff is starting to sink in.
you been saying that for weeks

just how deep are you expecting it to sink?

__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #5 (permalink)  
Old 02-13-09, 14:22
rbfree rbfree is offline
Registered User
 
Join Date: Feb 2009
Posts: 104
Keep in mind that the natural densification process started long ago, with me. And, my temporal reference is geological time. So, "starting to sink in" can be a long, long process.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On