Wrox Programmer Forums
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 30th, 2006, 12:51 AM
Registered User
 
Join Date: Apr 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Schedule DB design

Hey Guys,
I hope someone can help in this db design.
I need this design to allow dispatchers to see the first available tech based on a specific time and specific date.
all jobs are based on Sku's and all sku run at 30 minutes interval(60 minutes, 90 minutes, 150 minutes and so on)
This is what I have so far
EmployeeTable
ID
fName
lName
location
phone

ScheduleTable
ID
StartTime
EndTime
EmployeeID

SkuTable
SID
Sdescription
Price
Durration (the job time 30 minutes interval)

ClientsTable
ID
fName
lName
Phone

CallsTable
ID
ClientID
EmployeeID
StartTime
EndTime
DatePerformed

-
How can I redesign this DB to allow users to see the first available employee on a given date and time and allow the service call to be booked.

Thanks in advance





Similar Threads
Thread Thread Starter Forum Replies Last Post
About schedule Task brijit VB.NET 2002/2003 Basics 1 November 8th, 2006 01:21 PM
Design patterns for web design ceadge HTML Code Clinic 0 June 19th, 2006 11:26 AM
DB Design Recommendations Needed ~Bean~ SQL Server 2000 1 July 14th, 2005 03:49 PM
need help with this db design method Access 4 May 11th, 2005 07:16 AM
Java Design issue with UML and Design Patterns the_logical_way Apache Tomcat 0 May 31st, 2004 04:02 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.