I have another question that I don't know how to answer. In my database I have a table with schedules. Each employee is assigned to one schedule. After thinking about this, I wonder what will happen if employee1 calls in sick and employee2 (Assigned to a completely different schedule) has to cover employee1's shift.
I think that the database should not allow employee2 to entered because remember, employee2 is assigned a totally different shift.
How should I go about fixing this? Should I use triggers for this?
Thanks,
Frank