If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > Time oriented DB question

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-04-08, 10:22
Roycosoep Roycosoep is offline
Registered User
 
Join Date: Jul 2008
Posts: 1
Time oriented DB question

Hello,

I'm building an application which, among others, calculates peoples salaries (per week, 4 weeks or month). The data on which this calculation is based needs to be time oriented, so adjustable without modifying the past. This data is divided over several tables and needs to be time oriented independently.

So for example for person A the data in table A can be constant from 1-1-2008 to 10-1-2008 and change on 11-1-2008 and then remain like that till 20-1-2008, while the data in table B can be constant from 1-1-2008 till 5-1-2008 en then change on 6-1-2008 and remain constant till 20-1-2008.

The most ideal situation would be when data in different tables can be changed on a per-day basis.

I've read the book on Time Oriented DB Design from Richard T. Snodgrass, it's understandable but (for me) rather complex to build an entire application with.

Good for simple SQL queries but not an elegant solution would be to construct tables with a record for each date.

What would be a good solution, without having too much database functionality on the client side? What is the "default" way of dealing with this?

Thanks in advance !

Regards,

Roy
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On