Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / General / Data Warehousing / April 2008

Tip: Looking for answers? Try searching our database.

Cross Table References

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
doverj - 03 Apr 2008 21:18 GMT
I'm curious about theory of cross table references.  I understand the need
but I'm wondering best practices.  Specifically, should Cross-tables only be
made up of foreign keys or is it possible to have other columns?

For example, would this be an acceptable solution.
Borrower (BorrowerID)
LoanType (LoanTypeID)
CrossTable (BorrowerID, LoanTypeID, LoanScore, LoanValue)

Or should cross-table only be made up of keys.
Borrower (BorrowerID)
LoanType (LoanTypeID)
CrossTable (BorrowerID, LoanTypeID)

Thank you.
David Portas - 09 Apr 2008 06:32 GMT
> I'm curious about theory of cross table references.  I understand the need
> but I'm wondering best practices.  Specifically, should Cross-tables only
[quoted text clipped - 12 lines]
>
> Thank you.

By "crosss table" I assume you mean a table that references more than one
other table using more than one foreign key - often called an "association
table" or "joining table"?

A table is a table. Use design principles like normalization if you are
unsure what other columns to include (if any).

Signature

David Portas

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.