Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

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, 11: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

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