
300 PUZZLE 72 SCHEDULING SERVICE CALLS
PUZZLE
72 SCHEDULING SERVICE CALLS
This was posted by Sammy on an SQL server newsgroup. He wants help
with his design and needs to make sure no employees are is booked on a
service call when they are off duty.
The process is pretty straightforward. A client calls to book an
appointment, then the dispatcher inputs the desired date and time and
searches for the first available employee to book. Once at the client’s
location, the employee can sell additional SKUs, and all SKUs are based
on 30-minute time blocks.
Sammy was after advice on the design of the schema. His first attempt
was pretty bad. He used
IDENTITY ...