Unix Technical Forum

Cross Table References

This is a discussion on Cross Table References within the SQL Server Data Warehousing forums, part of the Microsoft SQL Server category; --> I'm curious about theory of cross table references. I understand the need but I'm wondering best practices. Specifically, should ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server Data Warehousing

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-07-2008, 08:38 AM
doverj via SQLMonster.com
 
Posts: n/a
Default Cross Table References

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.

--
Message posted via http://www.sqlmonster.com

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:19 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com