Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

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

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)

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:

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