SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Historical Database Design
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

duhaas
Constraint Violating Yak Guru

310 Posts

Posted - 09/06/2006 :  08:54:02  Show Profile  Reply with Quote
I will try and explain this the best I can. I have a customers table that I want to store monthly historical data for. Currently the table consists of about 12 colums, with a large number of them being foreign keys. If I want to store historical data, meaning some of these foreign key entry values could change month/month, should i just add like a month end data column to the customer table, and just import the data fresh each month, this way i can always reference what an account looked like on a given month end date? Or is there a better method of doing this?

Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)

USA
7020 Posts

Posted - 09/06/2006 :  09:00:12  Show Profile  Reply with Quote
This sounds like a Slowly Changing Dimension problem. You should search for that term on Google for articles on that subject.

This article is a good place to start:
http://www.dbmsmag.com/9604d05.html


CODO ERGO SUM
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000