Question
Employee schedule
Hey Guys,
I wonder if anyone have had any experience with this situation. its more of an SQL question but I can not find any answer to it anywhere and hoping someone here can help.
I need to create an employee shedule for dispaching techs to do jobs in a 30 minutes intervals.
this is what I have so far
employee table
ID
fName
lName
weekdays table
ID
Monday "Start time example 12:00 PM"
tuesday "start time 9:00 AM"
Service calls table
ID
TechID
CustomerID
Start Time
End Time
Date
--
My problem here is I want to be able to see the time the tech available to perform service calls, for example
if Tech1 has a service call on 04/22/06 starting 9:00 AM and ending 10:30 AM I want to be able to book him/her for the times they are available and not override the calls they already booked for.
any clues or any ideas will be much appreciated
Thanks
I wonder if anyone have had any experience with this situation. its more of an SQL question but I can not find any answer to it anywhere and hoping someone here can help.
I need to create an employee shedule for dispaching techs to do jobs in a 30 minutes intervals.
this is what I have so far
employee table
ID
fName
lName
weekdays table
ID
Monday "Start time example 12:00 PM"
tuesday "start time 9:00 AM"
Service calls table
ID
TechID
CustomerID
Start Time
End Time
Date
--
My problem here is I want to be able to see the time the tech available to perform service calls, for example
if Tech1 has a service call on 04/22/06 starting 9:00 AM and ending 10:30 AM I want to be able to book him/her for the times they are available and not override the calls they already booked for.
any clues or any ideas will be much appreciated
Thanks
