Database design regarding two 'linking' tables

Reply

Join Date: Jul 2007
Posts: 2
Reputation: Falzz is an unknown quantity at this point 
Solved Threads: 0
Falzz Falzz is offline Offline
Newbie Poster

Database design regarding two 'linking' tables

 
0
  #1
Jul 19th, 2007
Hi all, im fairly new to database design and would just like a few tips if this is done correctly or if i can improve it..

Im mainly designing a 'leave' application and have an issue with regards to design of two linking tables..

First Table - [Request]
Username, DateStart, DateEnd, DayAmount

Second Table - [Log]
Username, DateStart, DateEnd, DayDate

basically the second table fills in the days of all the dates between the DateStart (starting date) and DateEnd (ending date)..

however im not sure if its good database design to use 3 columns as a primary key and if theres another easier way to solve this issue.

Thanks for your help
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC