View Single Post
Old 02-11-2013, 08:45 PM   PM User | #19
felgall
Master Coder

 
felgall's Avatar
 
Join Date: Sep 2005
Location: Sydney, Australia
Posts: 5,465
Thanks: 0
Thanked 499 Times in 491 Posts
felgall is a jewel in the roughfelgall is a jewel in the roughfelgall is a jewel in the rough
Quote:
Originally Posted by felgall View Post
A one column table would need to have its column as part of the key in the other tables that refer to it.
Just to clarify - it doesn't have to be part of the primary key (although it would be in a join table used to attach multiple values), it could be a foreign key (in a table where exactly one of the values is required)..
__________________
Stephen
Learn Modern JavaScript - http://javascriptexample.net/
Helping others to solve their computer problem at http://www.felgall.com/
felgall is offline   Reply With Quote
Users who have thanked felgall for this post:
shaunthomson (02-12-2013)