RSS Forums RSS
Please support our Database Design advertiser: Programming Forums
Views: 1457 | Replies: 0 | Thread Tools  Display Modes
Reply
Join Date: Jul 2007
Posts: 1
Reputation: Falzz is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Falzz Falzz is offline Offline
Newbie Poster

Database design regarding two 'linking' tables

  #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
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 5:37 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC